diff --git a/src/demo/resources/demo/simple/consumption_template.xml b/src/demo/resources/demo/simple/consumption_template.xml index 75a3170b..e50b6980 100644 --- a/src/demo/resources/demo/simple/consumption_template.xml +++ b/src/demo/resources/demo/simple/consumption_template.xml @@ -13,7 +13,7 @@ - + diff --git a/src/main/java/com/rapiddweller/benerator/engine/parser/string/IdParser.java b/src/main/java/com/rapiddweller/benerator/engine/parser/string/IdParser.java index e838cfd3..c7a99465 100644 --- a/src/main/java/com/rapiddweller/benerator/engine/parser/string/IdParser.java +++ b/src/main/java/com/rapiddweller/benerator/engine/parser/string/IdParser.java @@ -13,7 +13,7 @@ public class IdParser extends RegexBasedStringParser { public IdParser() { - super("id", "[A-Za-z_][A-Za-z0-9_-]*"); + super("id", "[A-Za-z_$][A-Za-z0-9_-[\\(][\\)]]*"); } }