mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +00:00
Main ref link definition before colon
This commit is contained in:
parent
986a521a66
commit
bc4d2bf73c
@ -72,9 +72,10 @@ public class CommandReferenceOverSeveral extends SingleLineCommand2<SequenceDiag
|
|||||||
new RegexLeaf("PARTS",
|
new RegexLeaf("PARTS",
|
||||||
"(([%pLN_.@]+|[%g][^%g]+[%g])([%s]*,[%s]*([%pLN_.@]+|[%g][^%g]+[%g]))*)"), //
|
"(([%pLN_.@]+|[%g][^%g]+[%g])([%s]*,[%s]*([%pLN_.@]+|[%g][^%g]+[%g]))*)"), //
|
||||||
RegexLeaf.spaceZeroOrMore(), //
|
RegexLeaf.spaceZeroOrMore(), //
|
||||||
|
new RegexOptional(new RegexLeaf("URL", "(\\[\\[.*?\\]\\])")), //
|
||||||
|
RegexLeaf.spaceZeroOrMore(), //
|
||||||
new RegexLeaf(":"), //
|
new RegexLeaf(":"), //
|
||||||
RegexLeaf.spaceZeroOrMore(), //
|
RegexLeaf.spaceZeroOrMore(), //
|
||||||
new RegexOptional(new RegexLeaf("URL", "(\\[\\[.*?\\]\\])")), //
|
|
||||||
new RegexLeaf("TEXT", "(.*)"), RegexLeaf.end());
|
new RegexLeaf("TEXT", "(.*)"), RegexLeaf.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user