mirror of
https://github.com/octoleo/plantuml.git
synced 2024-06-08 03:10:53 +00:00
fix negative values causing syntax error in robust "has" list
https://forum.plantuml.net/18701/negative-values-causing-syntax-error-in-robust-has-list?show=18705
This commit is contained in:
parent
6c945e2508
commit
2a49ef06da
|
@ -59,8 +59,9 @@ public class CommandDefineStateShort extends SingleLineCommand2<TimingDiagram> {
|
||||||
RegexLeaf.spaceOneOrMore(), //
|
RegexLeaf.spaceOneOrMore(), //
|
||||||
new RegexLeaf("has"), //
|
new RegexLeaf("has"), //
|
||||||
RegexLeaf.spaceOneOrMore(), //
|
RegexLeaf.spaceOneOrMore(), //
|
||||||
new RegexLeaf("STATE", "([%pLN_.@]+)"), //
|
new RegexLeaf("STATE", "([-%pLN_.@]+)"), //
|
||||||
new RegexLeaf("STATES", "((,([%pLN_.@]+))*)"), RegexLeaf.end());
|
new RegexLeaf("STATES", "((,([-%pLN_.@]+))*)"), //
|
||||||
|
RegexLeaf.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user