We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3877f8b commit a5805c2Copy full SHA for a5805c2
tests/fixtures/modifiers.js
@@ -161,15 +161,30 @@ const modifiersFixtures = [
161
'pattern': '(?m:^[a-z])',
162
'expected': '(?:(?:^|(?<=[\\n\\r\\u2028\\u2029]))[a-z])',
163
},
164
+ {
165
+ 'pattern': '(?m:^[a-z])',
166
+ 'options': { modifiers: false },
167
+ 'expected': '(?m:^[a-z])',
168
+ },
169
{
170
'pattern': '(?m:[a-z]$)',
171
'expected': '(?:[a-z](?:$|(?=[\\n\\r\\u2028\\u2029])))',
172
173
174
+ 'pattern': '(?m:[a-z]$)',
175
176
+ 'expected': '(?m:[a-z]$)',
177
178
// +s
179
180
'pattern': '(?s:.)',
181
'expected': '(?:[^])',
182
183
184
+ 'pattern': '(?s:.)',
185
186
+ 'expected': '(?s:.)',
187
188
// -i
189
190
'pattern': '(?-i:a)(a)',
0 commit comments