Skip to content
Permalink
Browse files

Upgrade to Unicode 11

For reference/comparison, here's the Unicode 10 upgrade: #221

Closes #248.
  • Loading branch information...
josephfrazier authored and mathiasbynens committed Jun 8, 2018
1 parent 9f26450 commit 20ab3d7a59035649327b8acb1cf372afb5f71f83
@@ -119,7 +119,7 @@ XRegExp('^\\pS$').test('💩'); // -> true

Opting in to astral mode disables the use of `\p{…}` and `\P{…}` within character classes. In astral mode, use e.g. `(\pL|[0-9_])+` instead of `[\pL0-9_]+`.

XRegExp uses Unicode 10.0.0.
XRegExp uses Unicode 11.0.0.

### XRegExp.build

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -45,7 +45,7 @@
"eslint": "^4.19.1",
"jasmine": "^3.1.0",
"jsesc": "^2.5.1",
"unicode-10.0.0": "^0.7.5",
"unicode-11.0.0": "^0.7.7",
"unicode-property-value-aliases": "^3.0.0",
"zuul": "^3.11.1"
}
@@ -14,7 +14,7 @@ export default (XRegExp) => {
* `\p{InBasicLatin}`. Token names are case insensitive, and any spaces, hyphens, and
* underscores are ignored.
*
* Uses Unicode 10.0.0.
* Uses Unicode 11.0.0.
*
* @requires XRegExp, Unicode Base
*/
@@ -14,7 +14,7 @@ export default (XRegExp) => {
* category descriptions in UAX #44 <http://unicode.org/reports/tr44/#GC_Values_Table>. Token
* names are case insensitive, and any spaces, hyphens, and underscores are ignored.
*
* Uses Unicode 10.0.0.
* Uses Unicode 11.0.0.
*
* @requires XRegExp, Unicode Base
*/
@@ -43,7 +43,7 @@ export default (XRegExp) => {
*
* Token names are case insensitive, and any spaces, hyphens, and underscores are ignored.
*
* Uses Unicode 10.0.0.
* Uses Unicode 11.0.0.
*
* @requires XRegExp, Unicode Base
*/
@@ -13,7 +13,7 @@ export default (XRegExp) => {
* Adds support for all Unicode scripts. E.g., `\p{Latin}`. Token names are case insensitive,
* and any spaces, hyphens, and underscores are ignored.
*
* Uses Unicode 10.0.0.
* Uses Unicode 11.0.0.
*
* @requires XRegExp, Unicode Base
*/
@@ -219,6 +219,10 @@ module.exports = [
'name': 'InCherokee_Supplement',
'bmp': '\uAB70-\uABBF'
},
{
'name': 'InChess_Symbols',
'astral': '\uD83E[\uDE00-\uDE6F]'
},
{
'name': 'InCombining_Diacritical_Marks',
'bmp': '\u0300-\u036F'
@@ -311,6 +315,10 @@ module.exports = [
'name': 'InDingbats',
'bmp': '\u2700-\u27BF'
},
{
'name': 'InDogra',
'astral': '\uD806[\uDC00-\uDC4F]'
},
{
'name': 'InDomino_Tiles',
'astral': '\uD83C[\uDC30-\uDC9F]'
@@ -383,6 +391,10 @@ module.exports = [
'name': 'InGeorgian',
'bmp': '\u10A0-\u10FF'
},
{
'name': 'InGeorgian_Extended',
'bmp': '\u1C90-\u1CBF'
},
{
'name': 'InGeorgian_Supplement',
'bmp': '\u2D00-\u2D2F'
@@ -415,6 +427,10 @@ module.exports = [
'name': 'InGujarati',
'bmp': '\u0A80-\u0AFF'
},
{
'name': 'InGunjala_Gondi',
'astral': '\uD807[\uDD60-\uDDAF]'
},
{
'name': 'InGurmukhi',
'bmp': '\u0A00-\u0A7F'
@@ -443,6 +459,10 @@ module.exports = [
'name': 'InHangul_Syllables',
'bmp': '\uAC00-\uD7AF'
},
{
'name': 'InHanifi_Rohingya',
'astral': '\uD803[\uDD00-\uDD3F]'
},
{
'name': 'InHanunoo',
'bmp': '\u1720-\u173F'
@@ -483,6 +503,10 @@ module.exports = [
'name': 'InImperial_Aramaic',
'astral': '\uD802[\uDC40-\uDC5F]'
},
{
'name': 'InIndic_Siyaq_Numbers',
'astral': '\uD83B[\uDC70-\uDCBF]'
},
{
'name': 'InInscriptional_Pahlavi',
'astral': '\uD802[\uDF60-\uDF7F]'
@@ -631,6 +655,10 @@ module.exports = [
'name': 'InMahjong_Tiles',
'astral': '\uD83C[\uDC00-\uDC2F]'
},
{
'name': 'InMakasar',
'astral': '\uD807[\uDEE0-\uDEFF]'
},
{
'name': 'InMalayalam',
'bmp': '\u0D00-\u0D7F'
@@ -659,6 +687,14 @@ module.exports = [
'name': 'InMathematical_Operators',
'bmp': '\u2200-\u22FF'
},
{
'name': 'InMayan_Numerals',
'astral': '\uD834[\uDEE0-\uDEFF]'
},
{
'name': 'InMedefaidrin',
'astral': '\uD81B[\uDE40-\uDE9F]'
},
{
'name': 'InMeetei_Mayek',
'bmp': '\uABC0-\uABFF'
@@ -799,6 +835,10 @@ module.exports = [
'name': 'InOld_Persian',
'astral': '\uD800[\uDFA0-\uDFDF]'
},
{
'name': 'InOld_Sogdian',
'astral': '\uD803[\uDF00-\uDF2F]'
},
{
'name': 'InOld_South_Arabian',
'astral': '\uD802[\uDE60-\uDE7F]'
@@ -919,6 +959,10 @@ module.exports = [
'name': 'InSmall_Form_Variants',
'bmp': '\uFE50-\uFE6F'
},
{
'name': 'InSogdian',
'astral': '\uD803[\uDF30-\uDF6F]'
},
{
'name': 'InSora_Sompeng',
'astral': '\uD804[\uDCD0-\uDCFF]'
Oops, something went wrong.

0 comments on commit 20ab3d7

Please sign in to comment.
You can’t perform that action at this time.