arc-flag-parser
Parse arc flag expressions to arrays of flag matches
Syntax
+
represents AND,
represents OR- AND (
+
) has higher precedence than OR (,
) []
is used to increase the precedence of the wrapped group
Examples
; // [ ['mobile', 'ios'] ]
; // [ ['mobile'], ['ios'] ]
; // [ ['mobile', 'ios'], ['mobile', 'android'] ]
See test.js
for more examples