regex /u flag error
Unanswered
American Chinchilla posted this in #help-forum
American ChinchillaOP
Type error: This regular expression flag is only available when targeting 'es6' or later.
i get this error when using this regexp
i get this error when using this regexp
/^[\p{L}\s;-]+$/u, i tried adding "target:" "ES6" to tsconfig but didnt help1 Reply
@American Chinchilla Type error: This regular expression flag is only available when targeting 'es6' or later.
i get this error when using this regexp `/^[\p{L}\s;-]+$/u`, i tried adding `"target:" "ES6"` to tsconfig but didnt help
please do not repost the question. you may bump this one to get it to the top of the forum, at most once per day