in reply to Re: Hash of Regexin thread Hash of Regex
/int\(\d+\)/ is not a regular expression
It is the match operator //
with a regular expression int\(\d+\)
After all, you wouldn't write
$test =~ s//int\(\d+\)//int/gi; [download]
--Greg