regexp2 icon indicating copy to clipboard operation
regexp2 copied to clipboard

ecmascript: cannot include class \s in character range

Open stevenh opened this issue 3 years ago • 0 comments

When compiling using regexp2.ECMAScript the regexp [a-\s] fails with the following but it should pass:

error parsing regexp: cannot include class \115 in character range in `[a-\s]`

regexp101 shows how it should be interpreted.

stevenh avatar Dec 06 '22 14:12 stevenh