diff --git a/pathfinder-core/src/main/antlr/de/cubbossa/pathfinder/antlr/SelectionLanguage.g4 b/pathfinder-core/src/main/antlr/de/cubbossa/pathfinder/antlr/SelectionLanguage.g4 index 54d16997..e00d58a2 100644 --- a/pathfinder-core/src/main/antlr/de/cubbossa/pathfinder/antlr/SelectionLanguage.g4 +++ b/pathfinder-core/src/main/antlr/de/cubbossa/pathfinder/antlr/SelectionLanguage.g4 @@ -45,7 +45,7 @@ COND_DELIMIT: ','; COND_EQUALS: '='; QUOTE : '"' ( ESC_SEQ | ~('\\'|'"') )* '"' ; -IDENTIFIER: [a-zA-Z0-9_:]+; +IDENTIFIER: [a-zA-Z][a-zA-Z0-9_:-]*; STRING: (~[,=])+?; fragment