File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,18 @@ function* buildRegExps(context) {
8080 // This is here to provide special support for the `@` variant
8181 regex . pattern ( [ / @ \[ [ ^ \s " ' ` ] + \] ( \/ [ ^ \s " ' ` ] + ) ? / , separator ] ) ,
8282
83+ // With variant modifier (e.g.: group-[..]/modifier)
84+ regex . pattern ( [ / ( [ ^ \s " ' ` \[ \\ ] + - ) ? \[ [ ^ \s " ' ` ] + \] \/ \w + / , separator ] ) ,
85+
8386 regex . pattern ( [ / ( [ ^ \s " ' ` \[ \\ ] + - ) ? \[ [ ^ \s " ' ` ] + \] / , separator ] ) ,
8487 regex . pattern ( [ / [ ^ \s " ' ` \[ \\ ] + / , separator ] ) ,
8588 ] ) ,
8689
8790 // With quotes allowed
8891 regex . any ( [
92+ // With variant modifier (e.g.: group-[..]/modifier)
93+ regex . pattern ( [ / ( [ ^ \s " ' ` \[ \\ ] + - ) ? \[ [ ^ \s ` ] + \] \/ \w + / , separator ] ) ,
94+
8995 regex . pattern ( [ / ( [ ^ \s " ' ` \[ \\ ] + - ) ? \[ [ ^ \s ` ] + \] / , separator ] ) ,
9096 regex . pattern ( [ / [ ^ \s ` \[ \\ ] + / , separator ] ) ,
9197 ] ) ,
You can’t perform that action at this time.
0 commit comments