More subtly, if the first (or any later) regex does not return a true value (i.e. it doesn't match) the later of the && conditions aren't even executed/tried, since by then, the total result will always be false.
This distinction is subtle but it can have quite profound effects if interpreted/understood (in)correctly. See also Short-circuit_evaluation
In reply to Re^2: Long Versions
by Joost
in thread Long Versions
by BoulderBum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |