The reason is that "Non greedy" dot-star matches NOTHING, so it prints nothing.print "$1 $2\n" if($str=~/(.*?)\*(.*)/); # Remove "?" in second capt +ure
Have you been high today? I see the nuns are gay! My brother yelled to me...I love you inside Ed - Benny Lava, by Buffalax
In reply to Re: regex question
by NetWallah
in thread regex question
by Alien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |