regexp-tree
regexp-tree copied to clipboard
Meta character . in characterClass is allowed?
Hello,
Adding the meta specialCharacter '.' in a CharacterClass shouldn't lead to an error?
Generate a regexp from
{"body":
{"type":"CharacterClass",
"expressions": [{"type":"Char","value":".","kind":"meta"}]},
"flags":"gm","type":"RegExp"}
has this result
/[.]/gm
Best regards