From 8294ca6e78ccbc0b248331b3d18c6717bc701d47 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Thu, 21 Jul 2022 18:06:55 +0200 Subject: [PATCH] Add order, see https://forum.plantuml.net/15232/declare-participants-similar-to-components?show=16269#c16269 --- .../sequencediagram/command/CommandParticipant.java | 6 ++---- .../command/CommandParticipantMultilines.java | 5 ++++- src/net/sourceforge/plantuml/version/Version.java | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/net/sourceforge/plantuml/sequencediagram/command/CommandParticipant.java b/src/net/sourceforge/plantuml/sequencediagram/command/CommandParticipant.java index dd5f06b06..24959e81c 100644 --- a/src/net/sourceforge/plantuml/sequencediagram/command/CommandParticipant.java +++ b/src/net/sourceforge/plantuml/sequencediagram/command/CommandParticipant.java @@ -92,9 +92,8 @@ public abstract class CommandParticipant extends SingleLineCommand2\\>)?"), // RegexLeaf.spaceZeroOrMore(), // + CommandParticipant.getOrderRegex(), // + RegexLeaf.spaceZeroOrMore(), // new RegexLeaf("URL", "(" + UrlBuilder.getRegexp() + ")?"), // RegexLeaf.spaceZeroOrMore(), // ColorParser.exp1(), // @@ -101,7 +103,8 @@ public class CommandParticipantMultilines extends CommandMultilines2