grammars-v4
grammars-v4 copied to clipboard
xsd-regex could not parse \d{1,2}
Hi:
I found xsd-regex could not parse \d{1,2} correctly, It's return wrong syntax tree as below:
I read the code, found atom's quantifier only recognize ?*+, but { will be put in next pice.
// Piece piece : atom quantifier? ;
// Quantifier quantifier : QUESTION | STAR | PLUS | StartQuantity quantity EndQuantity ;
debug result