diff --git a/src/net/sourceforge/plantuml/nwdiag/CommandElement.java b/src/net/sourceforge/plantuml/nwdiag/CommandElement.java index 566a5c3e6..329c8edfa 100644 --- a/src/net/sourceforge/plantuml/nwdiag/CommandElement.java +++ b/src/net/sourceforge/plantuml/nwdiag/CommandElement.java @@ -52,7 +52,7 @@ public class CommandElement extends SingleLineCommand2 { static IRegex getRegexConcat() { return RegexConcat.build(CommandElement.class.getName(), RegexLeaf.start(), // RegexLeaf.spaceZeroOrMore(), // - new RegexLeaf("NAME", "([%pLN_]+)"), // + new RegexLeaf("NAME", "([-.%pLN_]+)"), // RegexLeaf.spaceZeroOrMore(), // new RegexLeaf("DEFINITION", "(\\[(.*)\\])?"), // new RegexLeaf(";?"), RegexLeaf.end());