Skip to content

Commit f6f9f10

Browse files
committed
Explicit count modifiers
1 parent 0015d1c commit f6f9f10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grammars/javascript.cson

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
'name': 'string.quoted.single.js'
525525
'patterns': [
526526
{
527-
'match': '\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)'
527+
'match': '\\\\(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)'
528528
'name': 'constant.character.escape.js'
529529
}
530530
]
@@ -541,7 +541,7 @@
541541
'name': 'string.quoted.double.js'
542542
'patterns': [
543543
{
544-
'match': '\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)'
544+
'match': '\\\\(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)'
545545
'name': 'constant.character.escape.js'
546546
}
547547
]
@@ -558,7 +558,7 @@
558558
'name': 'string.quoted.template.js'
559559
'patterns': [
560560
{
561-
'match': '\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)'
561+
'match': '\\\\(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)'
562562
'name': 'constant.character.escape.js'
563563
}
564564
{

0 commit comments

Comments
 (0)