2 And and Or
The most primitive combination operators, and and or. In regular expressions and-ing two sub-expressions simply concatenates them.
Returns a new expression that concatenates the list of sub-expressions in expr. The function rx/& is
simply an alias for rx/and.
Examples:
value
The operator that separates sub-expressions or-ed together.
Returns a new expression that combines the list of sub-expressions in expr separated by the
rx/or-operator.
Example:
> (rx/or "a" "b" "cd") "a|b|cd"