Skip to content

Commit

Permalink
Add #\tab to character constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed May 29, 2024
1 parent 9c6610e commit 6a4d993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion syntaxes/racket.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@
"patterns": [
{
"name": "string.quoted.single.racket",
"match": "(?x) \\#\\\\\n (?:\n (?: [0-7]{3}) |\n (?: u[0-9a-fA-F]{1,4}) |\n (?: U[0-9a-fA-F]{1,6}) |\n (?:\n (?:\n null? | newline | linefeed | backspace | vtab | page |\n return | space | rubout | (?: [^\\w\\s] | \\d)\n )\n (?![a-zA-Z])\n ) |\n (?: [^\\W\\d](?=[\\W\\d]) | \\W )\n )\n"
"match": "(?x) \\#\\\\\n (?:\n (?: [0-7]{3}) |\n (?: u[0-9a-fA-F]{1,4}) |\n (?: U[0-9a-fA-F]{1,6}) |\n (?:\n (?:\n null? | newline | linefeed | backspace | v?tab | page |\n return | space | rubout | (?: [^\\w\\s] | \\d)\n )\n (?![a-zA-Z])\n ) |\n (?: [^\\W\\d](?=[\\W\\d]) | \\W )\n )\n"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/src/racket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ repository:
(?: U[0-9a-fA-F]{1,6}) |
(?:
(?:
null? | newline | linefeed | backspace | vtab | page |
null? | newline | linefeed | backspace | v?tab | page |
return | space | rubout | (?: [^\w\s] | \d)
)
(?![a-zA-Z])
Expand Down

0 comments on commit 6a4d993

Please sign in to comment.