diff --git a/syntaxes/fjsx15/literal/string/regex/capturing-group.sublime-syntax b/syntaxes/fjsx15/literal/string/regex/capturing-group.sublime-syntax index 53558e8e..01ff1396 100644 --- a/syntaxes/fjsx15/literal/string/regex/capturing-group.sublime-syntax +++ b/syntaxes/fjsx15/literal/string/regex/capturing-group.sublime-syntax @@ -27,7 +27,7 @@ contexts: - match: \) scope: punctuation.definition.group.end.regexp.js.fjsx15 pop: true - - match: (?=\s*\S) + - match: (?=\S) push: regex-content meta: diff --git a/syntaxes/fjsx15/literal/string/regex/lookahead.sublime-syntax b/syntaxes/fjsx15/literal/string/regex/lookahead.sublime-syntax index 93487bce..74e311d0 100644 --- a/syntaxes/fjsx15/literal/string/regex/lookahead.sublime-syntax +++ b/syntaxes/fjsx15/literal/string/regex/lookahead.sublime-syntax @@ -27,7 +27,7 @@ contexts: - match: \) scope: punctuation.definition.group.assertion.end.regexp.js.fjsx15 pop: true - - match: (?=\s*\S) + - match: (?=\S) push: regex-content meta: