I also didn't know the trick where you put the pattern on the left side of the =~ operator and still get results somehow ;-Ugh. Major brain fart. And it still works!
The (?!\1)xxx(() element is great, thanks.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: Matching permutations with regex
by QM
in thread Matching permutations with regex
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |