@ptolemy2002/rgx 6.1.0 → 6.1.1

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/dist/constants.js CHANGED
@@ -56,30 +56,35 @@ defineRGXConstant("any", {
56
56
  });
57
57
  defineRGXConstant("start", {
58
58
  rgxGroupWrap: false,
59
+ rgxIsRepeatable: false,
59
60
  toRgx() {
60
61
  return /^/;
61
62
  }
62
63
  });
63
64
  defineRGXConstant("end", {
64
65
  rgxGroupWrap: false,
66
+ rgxIsRepeatable: false,
65
67
  toRgx() {
66
68
  return /$/;
67
69
  }
68
70
  });
69
71
  defineRGXConstant("word-bound", {
70
72
  rgxGroupWrap: false,
73
+ rgxIsRepeatable: false,
71
74
  toRgx() {
72
75
  return /\b/;
73
76
  }
74
77
  });
75
78
  defineRGXConstant("non-word-bound", {
76
79
  rgxGroupWrap: false,
80
+ rgxIsRepeatable: false,
77
81
  toRgx() {
78
82
  return /\B/;
79
83
  }
80
84
  });
81
85
  defineRGXConstant("word-bound-start", {
82
86
  rgxGroupWrap: false,
87
+ rgxIsRepeatable: false,
83
88
  toRgx() {
84
89
  // Make sure there is a non-word character before and a word character after
85
90
  return /(?<=\W)(?=\w)/;
@@ -87,6 +92,7 @@ defineRGXConstant("word-bound-start", {
87
92
  });
88
93
  defineRGXConstant("word-bound-end", {
89
94
  rgxGroupWrap: false,
95
+ rgxIsRepeatable: false,
90
96
  toRgx() {
91
97
  // Make sure there is a word character before and a non-word character after
92
98
  return /(?<=\w)(?=\W)/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptolemy2002/rgx",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",