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 parameters
patterns
an array of regular expression patterns
Attributes
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".
Value parameters
patterns
a set of regular expression patterns
Attributes
Returns
a pattern that matches if any of the input patterns match