File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ contexts:
263263 scope : keyword.control.assertion.regexp.elixir
264264 set : [group_body, unexpected_quantifier_pop]
265265 # Named capture.
266- - match : \?(?>P? (?><({{capture_name}})>|'\g<-1>'|<({{invalid_capture_name}}?)>|'\g<-1>'))
266+ - match : \?(?>(?>P? <({{capture_name}})>|'\g<-1>'|P? <({{invalid_capture_name}}?)>|'\g<-1>'))
267267 scope : keyword.other.named-capture-group.regexp.elixir
268268 captures :
269269 1 : entity.name.capture-group.regexp.elixir
@@ -281,8 +281,8 @@ contexts:
281281 - match : \?\|
282282 scope : keyword.control.group-numbers.regexp.elixir
283283 set : [group_body, unexpected_quantifier_pop]
284- # Inline option.
285- - match : (\?)([imsx ]+(?:-[imsx ]*)?) (.*?)(:|(?=\)))
284+ # Internal option setting .
285+ - match : (?x) ( \?) ([imsxJUX ]+(?:-[imsxJUX ]*)? | (?:-[imsxJUX]*)+) (.*?) (:|(?=\)))
286286 scope : storage.modifier.mode.regexp.elixir
287287 captures :
288288 1 : storage.modifier.mode.question.regexp.elixir
You can’t perform that action at this time.
0 commit comments