809 B
809 B
Support Unicode Set Notation proposal (#12241 by @fisker)
Support Stage 3 proposal Unicode Set Notation via Babel 7.17.0.
See the release blog post of Babel v7.17.0 and the README of this proposal for details.
// Examples
/[\p{Decimal_Number}--[0-9]]/v; // Non-ASCII decimal digits
"Did you see the 👩🏿❤️💋👩🏾 emoji?".match(/\p{RGI_Emoji}/v). // ["👩🏿❤️💋👩🏾"]
/[\r\n\q{\r\n|NEWLINE}]/v; // Matches \r, \n, \r\n or NEWLINE