What is the source of your expectations ? Why do you expect what you do?
See Re: meaning of =()= (null list accumulator, list counter), Context tutorial, http://perldoc.perl.org/perlop.html#Matching-in-list-context, perlfaq6#What good is \G in a regular expression?,
In reply to Re: Match operator giving unexpected output (source)
by Anonymous Monk
in thread Match operator giving unexpected output
by ysreenu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |