mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +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(), //
|
||||
new RegexLeaf("has"), //
|
||||
RegexLeaf.spaceOneOrMore(), //
|
||||
new RegexLeaf("STATE", "([%pLN_.@]+)"), //
|
||||
new RegexLeaf("STATES", "((,([%pLN_.@]+))*)"), RegexLeaf.end());
|
||||
new RegexLeaf("STATE", "([-%pLN_.@]+)"), //
|
||||
new RegexLeaf("STATES", "((,([-%pLN_.@]+))*)"), //
|
||||
RegexLeaf.end());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user