- Companion
- class
Value members
Concrete methods
Form the disjunction of the given regular expression patterns. For example if patterns contains "a" and "b" then the disjunction is "(a|b)", that is, "a or b".
Form the disjunction of the given regular expression patterns. For example if patterns contains "a" and "b" then the disjunction is "(a|b)", that is, "a or b".
- Value Params
- patterns
an array of regular expression patterns
- Returns
a pattern that matches if any of the input patterns match
Form the disjunction of the given regular expression patterns. For example if patterns contains "a" and "b" then the disjunction is "(a|b)", that is, "a or b".
Form the disjunction of the given regular expression patterns. For example if patterns contains "a" and "b" then the disjunction is "(a|b)", that is, "a or b".
- Value Params
- patterns
a set of regular expression patterns
- Returns
a pattern that matches if any of the input patterns match