> perl -e '$ignore="words:\\d+"; $property="words:45"; print "yes\n +" if ($property=~m/$ignore/i);' yes
Notice that I had to double the backslashes of \d, because "" takes away one backslash there too
You can find those bugs (as I did just now) by making a simple test script and removing "problematic patterns" until your test script works. The last pattern you remove must be the troublemaker
In reply to Re: Searching an array with an array of regexes
by jethro
in thread Searching an array with an array of regexes
by Drigan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |