$_ = <<EOF; 1a 2a EOF @a = /(.*?)a/sg; print "@a\n"; # prints: # 1 @a = /([\000-\377]*?)a/g; print "@a\n"; # prints: # 1 # 2
Update:
Looks like this is a known bug, ID 20010410.006 on http://bugs.perl.org/
In reply to Re: Re: Silliness
by converter
in thread Silliness
by iamcal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |