This is the famous =()= goatse "secret operator", nicely explained here (along with Perl's other "secret operators").my $count =()= ($str =~ /ban/g);
In reply to Re: regexp match count
by eyepopslikeamosquito
in thread regexp match count
by ramprasad27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |