Skip to content

Commit 96633df

Browse files
committed
Change oniguruma links to v6.9.8
1 parent 3434f0a commit 96633df

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Highlights scope names with their own themed colour in realtime:
6464
* [Github - TextMate](https://github.com/textmate/textmate)
6565
* [Github - VSCode TextMate](https://github.com/microsoft/vscode-textmate)
6666
* [Github - Oniguruma](https://github.com/kkos/oniguruma)
67-
* [Github - Oniguruma: list of all expressions](https://github.com/kkos/oniguruma/blob/master/doc/RE)
67+
* [Github - Oniguruma: list of all expressions](https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE)
6868
* [Github - VSCode Oniguruma](https://github.com/microsoft/vscode-oniguruma)
6969
* [Github - Unit testing](https://github.com/PanAeon/vscode-tmgrammar-test)
7070
* [Github - TmLanguage-Syntax-Highlighter](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter)

documentation/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Todo: Explain basics of the `Package.json` in relation to TextMate syntaxes.
3030
## Regex
3131
VSCode TextMate uses the [oniguruma](https://github.com/kkos/oniguruma) dialect.
3232
It used to use Ruby.
33-
Here is a list of all valid regex [expressions](https://github.com/kkos/oniguruma/blob/master/doc/RE).
33+
Here is a list of all valid regex [expressions](https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE).
3434
[regex.tmLanguage.json](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/syntaxes/regex.tmLanguage.json).
35-
`\\K` [Keep](https://github.com/kkos/oniguruma/blob/master/doc/RE#L183) effectively moves the start position of the captured text.
36-
`\\G` [MatchAnchor](https://github.com/kkos/oniguruma/blob/master/doc/RE#L182) matches against the end of a [begin](./rules.md#begin) rule.
35+
`\\K` [Keep](https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE#L183) effectively moves the start position of the captured text.
36+
`\\G` [MatchAnchor](https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE#L182) matches against the end of a [begin](./rules.md#begin) rule.
3737
Capture groups inside a positive-lookaround can be targeted by [capture](rules.md#capture).
3838
Capture groups inside a negative-lookaround will cause an error. Use non-capture group `(?:...)` instead.
3939

@@ -55,7 +55,7 @@ Todo:
5555
- https://gist.github.com/Aerijo/b8c82d647db783187804e86fa0a604a1
5656
- https://gist.github.com/DamnedScholar/622926bcd222eb1ddc483d12103fd315
5757
- https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example
58-
- https://github.com/kkos/oniguruma/blob/master/doc/RE
58+
- https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE
5959
- https://github.com/chbk/flight-manual.atom.io/blob/scopes/content/hacking-atom/sections/syntax-naming-conventions.md
6060
- https://github.com/atom/flight-manual.atom.io/pull/564
6161
- https://github.com/jeff-hykin/better-cpp-syntax/blob/master/documentation/library/textmate_while.md

src/Providers/HoverProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const HoverProvider: vscode.HoverProvider = {
2828
switch (hoverCapture.name) {
2929
case 'match':
3030
markdownString.appendMarkdown('Regular Expression to match, (capture) and apply `scopeNames` to text \n');
31-
markdownString.appendMarkdown('TextMate uses the [Oniguruma](https://github.com/kkos/oniguruma/blob/master/doc/RE) regex dialect \n');
31+
markdownString.appendMarkdown('TextMate uses the [Oniguruma](https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE) regex dialect \n');
3232
markdownString.appendCodeblock('Example: \\\\b(true|false)\\\\b', 'json-textmate-regex');
3333
break;
3434
case 'begin':

syntaxes/regex.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@
15731573
},
15741574
"_disabled_": {
15751575
"comment": "Basic visual test",
1576-
"//": "https://github.com/kkos/oniguruma/blob/master/doc/RE",
1576+
"//": "https://github.com/kkos/oniguruma/blob/v6.9.8/doc/RE",
15771577
"patterns": [
15781578
{ "match": "(*FAIL) !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ " },
15791579
{ "match": "(*FAIL) \"\/\b\f\n\r\t\u0000 " },

0 commit comments

Comments
 (0)