Skip to content

Commit 015c217

Browse files
committed
No need to ignore case in MQ expression splitting regex
1 parent 17db3aa commit 015c217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function parseQuery(mediaQuery) {
3333
parsed.type = type ? type.toLowerCase() : 'all';
3434

3535
// Split expressions into a list.
36-
expressions = expressions.match(/\([^\)]+\)/ig);
36+
expressions = expressions.match(/\([^\)]+\)/g);
3737

3838
parsed.expressions = expressions.map(function (expression) {
3939
var captures = expression.match(RE_MQ_EXPRESSION);

0 commit comments

Comments
 (0)