regex-partial-match 0.1.10 → 0.1.12
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/README.md +2 -2
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ Such combinations have not been tested.
|
|
|
79
79
|
- 👈 [Lookbehind assertions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookbehind_assertion) (`(?<=...)`, `(?<!...)`)
|
|
80
80
|
- ⚓ [Input Boundaries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Input_boundary_assertion) (`^`, `$`)
|
|
81
81
|
- 🆒 [Word Boundaries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Word_boundary_assertion) (`\b`, `\B`)
|
|
82
|
-
- 🏴 [Flags](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags): `g`, `i`, `m`, `s`, `u`, `d`, `y` (See caveats for `y`)
|
|
82
|
+
- 🏴 [Flags](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags): `g`, `i`, `m`, `s`, `u`, `d`, `y` (See [caveats](#sticky-flag-y) for `y`)
|
|
83
83
|
|
|
84
84
|
## Unsupported Features
|
|
85
85
|
|
|
@@ -104,7 +104,7 @@ The library is compiled to **ES5** for broad compatibility with older browsers a
|
|
|
104
104
|
|
|
105
105
|
### [`.test()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test) behaviour and non-matching results from [`.exec()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec) and [`.match()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match)
|
|
106
106
|
|
|
107
|
-
The library produces an expression that always matches an empty string, at the end of the input.
|
|
107
|
+
The library produces an expression that always matches an empty string, at the end of the input. Feasibly, this is the start of a new partial match.
|
|
108
108
|
|
|
109
109
|
Hence:
|
|
110
110
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "regex-partial-match",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "A regular expression transform for partial matching",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"devEngines": {
|
|
6
|
+
"runtime": {
|
|
7
|
+
"name": "node",
|
|
8
|
+
"version": ">=23"
|
|
9
|
+
},
|
|
10
|
+
"packageManager": {
|
|
11
|
+
"name": "npm"
|
|
12
|
+
}
|
|
7
13
|
},
|
|
8
14
|
"keywords": [
|
|
9
15
|
"regexp",
|