On 06/13/2017 05:14 PM, Chas. Owens wrote: > Two notes: > > Firstly, $document->find will return undef if no regexes are found, not an > empty arrayref, so you should say [snip]
> Secondly, PPI does not catch all things that can be considered regexes, for > instance: [snip] Thanks. I appreciate the observations. On that second one, I figure it is all but impossible to catch some cases and am simply hoping that they are not going to be in the code base I scan. I will try some other searches on the side to see if something like this shows up: m/ =~ \s+ \$\w+ \s+ \? /x Regards Lars -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/