I've since figured it out, but since it was so much fun, I'll leave the answer for you to figure out :)# prints "xxx_", instead of "xxx" print '__xxx__' =~ /\b_+(\w+)_+\b/ ? "$1\n" : "no match\n";
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Regex puzzle for you by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |