Can someone explain to me why, using NodeJS 10.15, trying to use Unicode Property Escapes results in a regex parse error? sample.match(/\p{Lu}/u); Expected atom at position 2 \p{Lu} ^ 10.x is supposed to support UPEs but I can't for the life of me get them to work.
Works for me: $ node -v v10.15.0 $ node -p '/\p{Script_Extensions=Greek}/u.test("π");' true $ node -p '/\p{Lu}/u.test("X")' true Can you post more details?
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.