On Dec 14, 2011, Brian Raven <[email protected]> wrote:
> -----Original Message----- > From: [email protected] [mailto:perl- > [email protected]] On Behalf Of > [email protected] > Sent: 13 December 2011 21:10 > To: [email protected] > Cc: [email protected] > Subject: Re: RE: File::Find::Rule problem > > > I have tried running both scripts without being able to reproduce the > > problem. But then I am running Perl 5.14.1 and File::Find::Rule > > version 0.33, so it could be version specific. > > > > I notice that the Changes file for the module has... > > > > 0.33 Monday 19th September, 2011 > > Fixes the case where name("foo(*") hits an error with mismatched > > parentheis. Reported by Jan Engelhardt. > > > > It might be worth upgrading File::Find::Rule to the later version > > (Perl as well, if you can). It might make a difference. > > > > HTH > > > > > > -- > > Brian Raven > > > >There is no need to escape meta characters, or compile a string into a regex, >as File::Find::Rule::name does that anyway to any parameter that isn't a regex >(using Text::Glob::glob_to_regex - check the source). >Can you say more about your problem with regular expressions? A small example >perhaps? Hmm, my mistake. I retested my sample program and FFR now works perfectly for both plain strings and qr// regexes. I'm all set. Arvin _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
