rregex 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/browser.d.ts CHANGED
@@ -309,6 +309,14 @@ export type Look =
309
309
  | LookWordAsciiNegateVariant
310
310
  | LookWordUnicodeVariant
311
311
  | LookWordUnicodeNegateVariant
312
+ | LookWordStartAsciiVariant
313
+ | LookWordEndAsciiVariant
314
+ | LookWordStartUnicodeVariant
315
+ | LookWordEndUnicodeVariant
316
+ | LookWordStartHalfAsciiVariant
317
+ | LookWordEndHalfAsciiVariant
318
+ | LookWordStartHalfUnicodeVariant
319
+ | LookWordEndHalfUnicodeVariant
312
320
 
313
321
  /**
314
322
  * Match the beginning of text. Specifically, this matches at the starting
@@ -413,6 +421,95 @@ export type LookWordUnicodeNegateVariant = {
413
421
  '@type': 'enum'
414
422
  '@name': 'regex_syntax::hir:Look'
415
423
  '@variant': 'WordUnicodeNegate'
424
+
425
+
426
+ /**
427
+ * Match the start of an ASCII-only word boundary. That is, this matches a
428
+ * position at either the beginning of the haystack or where the previous
429
+ * character is not a word character and the following character is a word
430
+ * character.
431
+ */
432
+ export type LookWordStartAsciiVariant = {
433
+ '@type': 'enum'
434
+ '@name': 'regex_syntax::hir:Look'
435
+ '@variant': 'WordStartAscii'
436
+ }
437
+
438
+ /**
439
+ * Match the end of an ASCII-only word boundary. That is, this matches a
440
+ * position at either the end of the haystack orwhere the previous character is
441
+ * a word character and the following character is not a word character.
442
+ */
443
+ export type LookWordEndAsciiVariant = {
444
+ '@type': 'enum'
445
+ '@name': 'regex_syntax::hir:Look'
446
+ '@variant': 'WordEndAscii'
447
+ }
448
+
449
+ /**
450
+ * Match the start of a Unicode word boundary. That is, this matches a position
451
+ * at either the beginning of the haystack or where the previous character is
452
+ * not a word character and the following character is a word character.
453
+ */
454
+ export type LookWordStartUnicodeVariant = {
455
+ '@type': 'enum'
456
+ '@name': 'regex_syntax::hir:Look'
457
+ '@variant': 'WordStartUnicode'
458
+ }
459
+
460
+ /**
461
+ * Match the end of a Unicode word boundary. That is, this matches a position at
462
+ * either the end of the haystack or where the previous character is a word
463
+ * character and the following character is not a word character.
464
+ */
465
+ export type LookWordEndUnicodeVariant = {
466
+ '@type': 'enum'
467
+ '@name': 'regex_syntax::hir:Look'
468
+ '@variant': 'WordEndUnicode'
469
+ }
470
+
471
+ /**
472
+ * Match the start half of an ASCII-only word boundary. That is, this matches a
473
+ * position at either the beginning of the haystack or where the previous
474
+ * character is not a word character.
475
+ */
476
+ export type LookWordStartHalfAsciiVariant = {
477
+ '@type': 'enum'
478
+ '@name': 'regex_syntax::hir::Look',
479
+ '@variant': 'WordStartHalfAscii'
480
+ }
481
+
482
+ /**
483
+ * Match the end half of an ASCII-only word boundary. That is, this matches a
484
+ * position at either the end of the haystack or where the following character
485
+ * is not a word character.
486
+ */
487
+ export type LookWordEndHalfAsciiVariant = {
488
+ '@type': 'enum'
489
+ '@name': 'regex_syntax::hir::Look',
490
+ '@variant': 'WordEndHalfAscii'
491
+ }
492
+
493
+ /**
494
+ * Match the start half of a Unicode word boundary. That is, this matches a
495
+ * position at either the beginning of the haystack or where the previous
496
+ * character is not a word character.
497
+ */
498
+ export type LookWordStartHalfUnicodeVariant = {
499
+ '@type': 'enum'
500
+ '@name': 'regex_syntax::hir::Look',
501
+ '@variant': 'WordStartHalfUnicode'
502
+ }
503
+
504
+ /**
505
+ * Match the end half of a Unicode word boundary. That is, this matches a
506
+ * position at either the end of the haystack or where the following character
507
+ * is not a word character.
508
+ */
509
+ export type LookWordEndHalfUnicodeVariant = {
510
+ '@type': 'enum'
511
+ '@name': 'regex_syntax::hir::Look',
512
+ '@variant': 'WordEndHalfUnicode'
416
513
  }
417
514
 
418
515
  /**
@@ -1072,6 +1169,6 @@ export const metadata: {
1072
1169
  ],
1073
1170
  "homepage": "http://rregex.dev",
1074
1171
  "repository": "https://github.com/2fd/rregex",
1075
- "regex": "1.9.6",
1076
- "regex-syntax": "0.7.5"
1172
+ "regex": "1.10.2",
1173
+ "regex-syntax": "0.8.2"
1077
1174
  }
package/lib/browser.js CHANGED
@@ -1202,6 +1202,6 @@ export const metadata = {
1202
1202
  ],
1203
1203
  "homepage": "http://rregex.dev",
1204
1204
  "repository": "https://github.com/2fd/rregex",
1205
- "regex": "1.9.6",
1206
- "regex-syntax": "0.7.5"
1205
+ "regex": "1.10.2",
1206
+ "regex-syntax": "0.8.2"
1207
1207
  }
package/lib/commonjs.d.ts CHANGED
@@ -309,6 +309,14 @@ export type Look =
309
309
  | LookWordAsciiNegateVariant
310
310
  | LookWordUnicodeVariant
311
311
  | LookWordUnicodeNegateVariant
312
+ | LookWordStartAsciiVariant
313
+ | LookWordEndAsciiVariant
314
+ | LookWordStartUnicodeVariant
315
+ | LookWordEndUnicodeVariant
316
+ | LookWordStartHalfAsciiVariant
317
+ | LookWordEndHalfAsciiVariant
318
+ | LookWordStartHalfUnicodeVariant
319
+ | LookWordEndHalfUnicodeVariant
312
320
 
313
321
  /**
314
322
  * Match the beginning of text. Specifically, this matches at the starting
@@ -413,6 +421,95 @@ export type LookWordUnicodeNegateVariant = {
413
421
  '@type': 'enum'
414
422
  '@name': 'regex_syntax::hir:Look'
415
423
  '@variant': 'WordUnicodeNegate'
424
+
425
+
426
+ /**
427
+ * Match the start of an ASCII-only word boundary. That is, this matches a
428
+ * position at either the beginning of the haystack or where the previous
429
+ * character is not a word character and the following character is a word
430
+ * character.
431
+ */
432
+ export type LookWordStartAsciiVariant = {
433
+ '@type': 'enum'
434
+ '@name': 'regex_syntax::hir:Look'
435
+ '@variant': 'WordStartAscii'
436
+ }
437
+
438
+ /**
439
+ * Match the end of an ASCII-only word boundary. That is, this matches a
440
+ * position at either the end of the haystack orwhere the previous character is
441
+ * a word character and the following character is not a word character.
442
+ */
443
+ export type LookWordEndAsciiVariant = {
444
+ '@type': 'enum'
445
+ '@name': 'regex_syntax::hir:Look'
446
+ '@variant': 'WordEndAscii'
447
+ }
448
+
449
+ /**
450
+ * Match the start of a Unicode word boundary. That is, this matches a position
451
+ * at either the beginning of the haystack or where the previous character is
452
+ * not a word character and the following character is a word character.
453
+ */
454
+ export type LookWordStartUnicodeVariant = {
455
+ '@type': 'enum'
456
+ '@name': 'regex_syntax::hir:Look'
457
+ '@variant': 'WordStartUnicode'
458
+ }
459
+
460
+ /**
461
+ * Match the end of a Unicode word boundary. That is, this matches a position at
462
+ * either the end of the haystack or where the previous character is a word
463
+ * character and the following character is not a word character.
464
+ */
465
+ export type LookWordEndUnicodeVariant = {
466
+ '@type': 'enum'
467
+ '@name': 'regex_syntax::hir:Look'
468
+ '@variant': 'WordEndUnicode'
469
+ }
470
+
471
+ /**
472
+ * Match the start half of an ASCII-only word boundary. That is, this matches a
473
+ * position at either the beginning of the haystack or where the previous
474
+ * character is not a word character.
475
+ */
476
+ export type LookWordStartHalfAsciiVariant = {
477
+ '@type': 'enum'
478
+ '@name': 'regex_syntax::hir::Look',
479
+ '@variant': 'WordStartHalfAscii'
480
+ }
481
+
482
+ /**
483
+ * Match the end half of an ASCII-only word boundary. That is, this matches a
484
+ * position at either the end of the haystack or where the following character
485
+ * is not a word character.
486
+ */
487
+ export type LookWordEndHalfAsciiVariant = {
488
+ '@type': 'enum'
489
+ '@name': 'regex_syntax::hir::Look',
490
+ '@variant': 'WordEndHalfAscii'
491
+ }
492
+
493
+ /**
494
+ * Match the start half of a Unicode word boundary. That is, this matches a
495
+ * position at either the beginning of the haystack or where the previous
496
+ * character is not a word character.
497
+ */
498
+ export type LookWordStartHalfUnicodeVariant = {
499
+ '@type': 'enum'
500
+ '@name': 'regex_syntax::hir::Look',
501
+ '@variant': 'WordStartHalfUnicode'
502
+ }
503
+
504
+ /**
505
+ * Match the end half of a Unicode word boundary. That is, this matches a
506
+ * position at either the end of the haystack or where the following character
507
+ * is not a word character.
508
+ */
509
+ export type LookWordEndHalfUnicodeVariant = {
510
+ '@type': 'enum'
511
+ '@name': 'regex_syntax::hir::Look',
512
+ '@variant': 'WordEndHalfUnicode'
416
513
  }
417
514
 
418
515
  /**
@@ -1015,6 +1112,6 @@ export const metadata: {
1015
1112
  ],
1016
1113
  "homepage": "http://rregex.dev",
1017
1114
  "repository": "https://github.com/2fd/rregex",
1018
- "regex": "1.9.6",
1019
- "regex-syntax": "0.7.5"
1115
+ "regex": "1.10.2",
1116
+ "regex-syntax": "0.8.2"
1020
1117
  }
package/lib/commonjs.js CHANGED
@@ -1147,6 +1147,6 @@ module.exports.metadata = {
1147
1147
  ],
1148
1148
  "homepage": "http://rregex.dev",
1149
1149
  "repository": "https://github.com/2fd/rregex",
1150
- "regex": "1.9.6",
1151
- "regex-syntax": "0.7.5"
1150
+ "regex": "1.10.2",
1151
+ "regex-syntax": "0.8.2"
1152
1152
  }
package/lib/module.d.ts CHANGED
@@ -309,6 +309,14 @@ export type Look =
309
309
  | LookWordAsciiNegateVariant
310
310
  | LookWordUnicodeVariant
311
311
  | LookWordUnicodeNegateVariant
312
+ | LookWordStartAsciiVariant
313
+ | LookWordEndAsciiVariant
314
+ | LookWordStartUnicodeVariant
315
+ | LookWordEndUnicodeVariant
316
+ | LookWordStartHalfAsciiVariant
317
+ | LookWordEndHalfAsciiVariant
318
+ | LookWordStartHalfUnicodeVariant
319
+ | LookWordEndHalfUnicodeVariant
312
320
 
313
321
  /**
314
322
  * Match the beginning of text. Specifically, this matches at the starting
@@ -413,6 +421,95 @@ export type LookWordUnicodeNegateVariant = {
413
421
  '@type': 'enum'
414
422
  '@name': 'regex_syntax::hir:Look'
415
423
  '@variant': 'WordUnicodeNegate'
424
+
425
+
426
+ /**
427
+ * Match the start of an ASCII-only word boundary. That is, this matches a
428
+ * position at either the beginning of the haystack or where the previous
429
+ * character is not a word character and the following character is a word
430
+ * character.
431
+ */
432
+ export type LookWordStartAsciiVariant = {
433
+ '@type': 'enum'
434
+ '@name': 'regex_syntax::hir:Look'
435
+ '@variant': 'WordStartAscii'
436
+ }
437
+
438
+ /**
439
+ * Match the end of an ASCII-only word boundary. That is, this matches a
440
+ * position at either the end of the haystack orwhere the previous character is
441
+ * a word character and the following character is not a word character.
442
+ */
443
+ export type LookWordEndAsciiVariant = {
444
+ '@type': 'enum'
445
+ '@name': 'regex_syntax::hir:Look'
446
+ '@variant': 'WordEndAscii'
447
+ }
448
+
449
+ /**
450
+ * Match the start of a Unicode word boundary. That is, this matches a position
451
+ * at either the beginning of the haystack or where the previous character is
452
+ * not a word character and the following character is a word character.
453
+ */
454
+ export type LookWordStartUnicodeVariant = {
455
+ '@type': 'enum'
456
+ '@name': 'regex_syntax::hir:Look'
457
+ '@variant': 'WordStartUnicode'
458
+ }
459
+
460
+ /**
461
+ * Match the end of a Unicode word boundary. That is, this matches a position at
462
+ * either the end of the haystack or where the previous character is a word
463
+ * character and the following character is not a word character.
464
+ */
465
+ export type LookWordEndUnicodeVariant = {
466
+ '@type': 'enum'
467
+ '@name': 'regex_syntax::hir:Look'
468
+ '@variant': 'WordEndUnicode'
469
+ }
470
+
471
+ /**
472
+ * Match the start half of an ASCII-only word boundary. That is, this matches a
473
+ * position at either the beginning of the haystack or where the previous
474
+ * character is not a word character.
475
+ */
476
+ export type LookWordStartHalfAsciiVariant = {
477
+ '@type': 'enum'
478
+ '@name': 'regex_syntax::hir::Look',
479
+ '@variant': 'WordStartHalfAscii'
480
+ }
481
+
482
+ /**
483
+ * Match the end half of an ASCII-only word boundary. That is, this matches a
484
+ * position at either the end of the haystack or where the following character
485
+ * is not a word character.
486
+ */
487
+ export type LookWordEndHalfAsciiVariant = {
488
+ '@type': 'enum'
489
+ '@name': 'regex_syntax::hir::Look',
490
+ '@variant': 'WordEndHalfAscii'
491
+ }
492
+
493
+ /**
494
+ * Match the start half of a Unicode word boundary. That is, this matches a
495
+ * position at either the beginning of the haystack or where the previous
496
+ * character is not a word character.
497
+ */
498
+ export type LookWordStartHalfUnicodeVariant = {
499
+ '@type': 'enum'
500
+ '@name': 'regex_syntax::hir::Look',
501
+ '@variant': 'WordStartHalfUnicode'
502
+ }
503
+
504
+ /**
505
+ * Match the end half of a Unicode word boundary. That is, this matches a
506
+ * position at either the end of the haystack or where the following character
507
+ * is not a word character.
508
+ */
509
+ export type LookWordEndHalfUnicodeVariant = {
510
+ '@type': 'enum'
511
+ '@name': 'regex_syntax::hir::Look',
512
+ '@variant': 'WordEndHalfUnicode'
416
513
  }
417
514
 
418
515
  /**
@@ -1015,6 +1112,6 @@ export const metadata: {
1015
1112
  ],
1016
1113
  "homepage": "http://rregex.dev",
1017
1114
  "repository": "https://github.com/2fd/rregex",
1018
- "regex": "1.9.6",
1019
- "regex-syntax": "0.7.5"
1115
+ "regex": "1.10.2",
1116
+ "regex-syntax": "0.8.2"
1020
1117
  }
package/lib/rregex.wasm CHANGED
Binary file
package/lib/types.d.ts CHANGED
@@ -309,6 +309,14 @@ export type Look =
309
309
  | LookWordAsciiNegateVariant
310
310
  | LookWordUnicodeVariant
311
311
  | LookWordUnicodeNegateVariant
312
+ | LookWordStartAsciiVariant
313
+ | LookWordEndAsciiVariant
314
+ | LookWordStartUnicodeVariant
315
+ | LookWordEndUnicodeVariant
316
+ | LookWordStartHalfAsciiVariant
317
+ | LookWordEndHalfAsciiVariant
318
+ | LookWordStartHalfUnicodeVariant
319
+ | LookWordEndHalfUnicodeVariant
312
320
 
313
321
  /**
314
322
  * Match the beginning of text. Specifically, this matches at the starting
@@ -413,6 +421,95 @@ export type LookWordUnicodeNegateVariant = {
413
421
  '@type': 'enum'
414
422
  '@name': 'regex_syntax::hir:Look'
415
423
  '@variant': 'WordUnicodeNegate'
424
+
425
+
426
+ /**
427
+ * Match the start of an ASCII-only word boundary. That is, this matches a
428
+ * position at either the beginning of the haystack or where the previous
429
+ * character is not a word character and the following character is a word
430
+ * character.
431
+ */
432
+ export type LookWordStartAsciiVariant = {
433
+ '@type': 'enum'
434
+ '@name': 'regex_syntax::hir:Look'
435
+ '@variant': 'WordStartAscii'
436
+ }
437
+
438
+ /**
439
+ * Match the end of an ASCII-only word boundary. That is, this matches a
440
+ * position at either the end of the haystack orwhere the previous character is
441
+ * a word character and the following character is not a word character.
442
+ */
443
+ export type LookWordEndAsciiVariant = {
444
+ '@type': 'enum'
445
+ '@name': 'regex_syntax::hir:Look'
446
+ '@variant': 'WordEndAscii'
447
+ }
448
+
449
+ /**
450
+ * Match the start of a Unicode word boundary. That is, this matches a position
451
+ * at either the beginning of the haystack or where the previous character is
452
+ * not a word character and the following character is a word character.
453
+ */
454
+ export type LookWordStartUnicodeVariant = {
455
+ '@type': 'enum'
456
+ '@name': 'regex_syntax::hir:Look'
457
+ '@variant': 'WordStartUnicode'
458
+ }
459
+
460
+ /**
461
+ * Match the end of a Unicode word boundary. That is, this matches a position at
462
+ * either the end of the haystack or where the previous character is a word
463
+ * character and the following character is not a word character.
464
+ */
465
+ export type LookWordEndUnicodeVariant = {
466
+ '@type': 'enum'
467
+ '@name': 'regex_syntax::hir:Look'
468
+ '@variant': 'WordEndUnicode'
469
+ }
470
+
471
+ /**
472
+ * Match the start half of an ASCII-only word boundary. That is, this matches a
473
+ * position at either the beginning of the haystack or where the previous
474
+ * character is not a word character.
475
+ */
476
+ export type LookWordStartHalfAsciiVariant = {
477
+ '@type': 'enum'
478
+ '@name': 'regex_syntax::hir::Look',
479
+ '@variant': 'WordStartHalfAscii'
480
+ }
481
+
482
+ /**
483
+ * Match the end half of an ASCII-only word boundary. That is, this matches a
484
+ * position at either the end of the haystack or where the following character
485
+ * is not a word character.
486
+ */
487
+ export type LookWordEndHalfAsciiVariant = {
488
+ '@type': 'enum'
489
+ '@name': 'regex_syntax::hir::Look',
490
+ '@variant': 'WordEndHalfAscii'
491
+ }
492
+
493
+ /**
494
+ * Match the start half of a Unicode word boundary. That is, this matches a
495
+ * position at either the beginning of the haystack or where the previous
496
+ * character is not a word character.
497
+ */
498
+ export type LookWordStartHalfUnicodeVariant = {
499
+ '@type': 'enum'
500
+ '@name': 'regex_syntax::hir::Look',
501
+ '@variant': 'WordStartHalfUnicode'
502
+ }
503
+
504
+ /**
505
+ * Match the end half of a Unicode word boundary. That is, this matches a
506
+ * position at either the end of the haystack or where the following character
507
+ * is not a word character.
508
+ */
509
+ export type LookWordEndHalfUnicodeVariant = {
510
+ '@type': 'enum'
511
+ '@name': 'regex_syntax::hir::Look',
512
+ '@variant': 'WordEndHalfUnicode'
416
513
  }
417
514
 
418
515
  /**
@@ -1072,6 +1169,6 @@ export const metadata: {
1072
1169
  ],
1073
1170
  "homepage": "http://rregex.dev",
1074
1171
  "repository": "https://github.com/2fd/rregex",
1075
- "regex": "1.9.6",
1076
- "regex-syntax": "0.7.5"
1172
+ "regex": "1.10.2",
1173
+ "regex-syntax": "0.8.2"
1077
1174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Rust Regex binding for Javascript",
5
5
  "private": false,
6
6
  "main": "./lib/commonjs.js",
@@ -81,6 +81,11 @@
81
81
  "range": "1.8.x",
82
82
  "channel": "1.8.x"
83
83
  },
84
+ {
85
+ "name": "1.9.x",
86
+ "range": "1.9.x",
87
+ "channel": "1.9.x"
88
+ },
84
89
  {
85
90
  "name": "master"
86
91
  }