You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
2.6 KiB

4 years ago
  1. // Generated using `npm run build`. Do not edit.
  2. 'use strict';
  3. const regenerate = require('regenerate');
  4. exports.REGULAR = new Map([
  5. ['d', regenerate()
  6. .addRange(0x30, 0x39)],
  7. ['D', regenerate()
  8. .addRange(0x0, 0x2F)
  9. .addRange(0x3A, 0xFFFF)],
  10. ['s', regenerate(0x20, 0xA0, 0x1680, 0x202F, 0x205F, 0x3000, 0xFEFF)
  11. .addRange(0x9, 0xD)
  12. .addRange(0x2000, 0x200A)
  13. .addRange(0x2028, 0x2029)],
  14. ['S', regenerate()
  15. .addRange(0x0, 0x8)
  16. .addRange(0xE, 0x1F)
  17. .addRange(0x21, 0x9F)
  18. .addRange(0xA1, 0x167F)
  19. .addRange(0x1681, 0x1FFF)
  20. .addRange(0x200B, 0x2027)
  21. .addRange(0x202A, 0x202E)
  22. .addRange(0x2030, 0x205E)
  23. .addRange(0x2060, 0x2FFF)
  24. .addRange(0x3001, 0xFEFE)
  25. .addRange(0xFF00, 0xFFFF)],
  26. ['w', regenerate(0x5F)
  27. .addRange(0x30, 0x39)
  28. .addRange(0x41, 0x5A)
  29. .addRange(0x61, 0x7A)],
  30. ['W', regenerate(0x60)
  31. .addRange(0x0, 0x2F)
  32. .addRange(0x3A, 0x40)
  33. .addRange(0x5B, 0x5E)
  34. .addRange(0x7B, 0xFFFF)]
  35. ]);
  36. exports.UNICODE = new Map([
  37. ['d', regenerate()
  38. .addRange(0x30, 0x39)],
  39. ['D', regenerate()
  40. .addRange(0x0, 0x2F)
  41. .addRange(0x3A, 0x10FFFF)],
  42. ['s', regenerate(0x20, 0xA0, 0x1680, 0x202F, 0x205F, 0x3000, 0xFEFF)
  43. .addRange(0x9, 0xD)
  44. .addRange(0x2000, 0x200A)
  45. .addRange(0x2028, 0x2029)],
  46. ['S', regenerate()
  47. .addRange(0x0, 0x8)
  48. .addRange(0xE, 0x1F)
  49. .addRange(0x21, 0x9F)
  50. .addRange(0xA1, 0x167F)
  51. .addRange(0x1681, 0x1FFF)
  52. .addRange(0x200B, 0x2027)
  53. .addRange(0x202A, 0x202E)
  54. .addRange(0x2030, 0x205E)
  55. .addRange(0x2060, 0x2FFF)
  56. .addRange(0x3001, 0xFEFE)
  57. .addRange(0xFF00, 0x10FFFF)],
  58. ['w', regenerate(0x5F)
  59. .addRange(0x30, 0x39)
  60. .addRange(0x41, 0x5A)
  61. .addRange(0x61, 0x7A)],
  62. ['W', regenerate(0x60)
  63. .addRange(0x0, 0x2F)
  64. .addRange(0x3A, 0x40)
  65. .addRange(0x5B, 0x5E)
  66. .addRange(0x7B, 0x10FFFF)]
  67. ]);
  68. exports.UNICODE_IGNORE_CASE = new Map([
  69. ['d', regenerate()
  70. .addRange(0x30, 0x39)],
  71. ['D', regenerate()
  72. .addRange(0x0, 0x2F)
  73. .addRange(0x3A, 0x10FFFF)],
  74. ['s', regenerate(0x20, 0xA0, 0x1680, 0x202F, 0x205F, 0x3000, 0xFEFF)
  75. .addRange(0x9, 0xD)
  76. .addRange(0x2000, 0x200A)
  77. .addRange(0x2028, 0x2029)],
  78. ['S', regenerate()
  79. .addRange(0x0, 0x8)
  80. .addRange(0xE, 0x1F)
  81. .addRange(0x21, 0x9F)
  82. .addRange(0xA1, 0x167F)
  83. .addRange(0x1681, 0x1FFF)
  84. .addRange(0x200B, 0x2027)
  85. .addRange(0x202A, 0x202E)
  86. .addRange(0x2030, 0x205E)
  87. .addRange(0x2060, 0x2FFF)
  88. .addRange(0x3001, 0xFEFE)
  89. .addRange(0xFF00, 0x10FFFF)],
  90. ['w', regenerate(0x5F, 0x17F, 0x212A)
  91. .addRange(0x30, 0x39)
  92. .addRange(0x41, 0x5A)
  93. .addRange(0x61, 0x7A)],
  94. ['W', regenerate(0x60)
  95. .addRange(0x0, 0x2F)
  96. .addRange(0x3A, 0x40)
  97. .addRange(0x5B, 0x5E)
  98. .addRange(0x7B, 0x17E)
  99. .addRange(0x180, 0x2129)
  100. .addRange(0x212B, 0x10FFFF)]
  101. ]);