Gossamer Forum
Home : General : Perl Programming :

Perl Regex + Running from command line?

Quote Reply
Perl Regex + Running from command line?
hello!

I'm trying to scan a file with the following regex to return positive if it finds X many occurances (or more) of the é character...

= /é{5,}?/

2 questions...

a) when typed into the command line it seems to be having a problem with the é character, is there something else I need to use?

b) how exactly do I run this from the command line through perl via the command line to scan a file on the hd?

thanks

r