In Regexes§
See primary documentation in context for Conjunction: &
Much like &&
in a Regexes, it matches successfully if all segments separated by &
match the same part of the target string.
&
(unlike &&
) is considered declarative, and notionally all the segments can be evaluated in parallel, or in any order the compiler chooses.
Just like with ||
and &
, empty first branches are ignored.