You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/regex-engines.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ The JavaScript engine is best when running in the browser and in cases when you
79
79
80
80
For the best result, [Oniguruma-To-ES](https://github.com/slevithan/oniguruma-to-es) uses the [RegExp `v` flag](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicodeSets), which is available in Node.js v20+ and ES2024 ([Browser compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicodeSets#browser_compatibility)).
81
81
82
-
For older environments, it can use the `u` flag but somewhat fewer grammars are supported.
82
+
For older environments, it can use the `u` flag but this results in a few less grammars being supported.
83
83
84
84
By default, the runtime target is automatically detected. You can override this behavior by setting the `target` option:
Copy file name to clipboardExpand all lines: docs/references/engine-js-compat.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Compatibility reference of all built-in grammars with the [JavaScript RegExp engine](/guide/regex-engines#javascript-regexp-engine-experimental).
4
4
5
-
> Generated on Friday, November 22, 2024
5
+
> Generated on Sunday, November 24, 2024
6
6
>
7
7
> Version `1.23.1`
8
8
>
@@ -20,7 +20,7 @@ Compatibility reference of all built-in grammars with the [JavaScript RegExp eng
20
20
## Supported Languages
21
21
22
22
Languages that work with the JavaScript RegExp engine, and will produce the same result as the WASM engine (with the [sample snippets in the registry](https://github.com/shikijs/textmate-grammars-themes/tree/main/samples)).
23
-
In some edge cases, it's not guaranteed that the the highlighting will be 100% the same. If that happens, please create an issue with the sample snippet.
23
+
In some edge cases, it's not guaranteed that the highlighting will be 100% the same. If that happens, please create an issue with the sample snippet.
24
24
25
25
| Language | Highlight Match | Patterns Parsable | Patterns Failed | Diff |
Copy file name to clipboardExpand all lines: scripts/report-engine-js-compat.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ async function run() {
223
223
'## Supported Languages',
224
224
'',
225
225
'Languages that work with the JavaScript RegExp engine, and will produce the same result as the WASM engine (with the [sample snippets in the registry](https://github.com/shikijs/textmate-grammars-themes/tree/main/samples)).',
226
-
'In some edge cases, it\'s not guaranteed that the the highlighting will be 100% the same. If that happens, please create an issue with the sample snippet.',
226
+
'In some edge cases, it\'s not guaranteed that the highlighting will be 100% the same. If that happens, please create an issue with the sample snippet.',
0 commit comments