regexp2
regexp2 copied to clipboard
ecmascript: cannot include class \s in character range
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.