Skip to content

Commit b22c117

Browse files
authored
fix(nix): fix ill-defined escape warning in grammars.nix (#15370)
1 parent 2910a7c commit b22c117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grammars.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
&& builtins.hasAttr "rev" grammar.source;
1515
isGitHubGrammar = grammar: lib.hasPrefix "https://github.com" grammar.source.git;
1616
toGitHubFetcher = url: let
17-
match = builtins.match "https://github\.com/([^/]*)/([^/]*)/?" url;
17+
match = builtins.match "https://github\\.com/([^/]*)/([^/]*)/?" url;
1818
in {
1919
owner = builtins.elemAt match 0;
2020
repo = builtins.elemAt match 1;

0 commit comments

Comments
 (0)