On Wednesday 24 September 2003 10:54, Pandey Rajeev-A19514 wrote 
:  I have a question regarding matching strings that have
: embeded perl special characters.
...
:  Can some one tell me an easy way to do ?

Have a look at \Q and \E.  They're both listed in perldoc perlre 
under the main "Regular Expressions" heading.

m/\Q.*\E./

matches the literal string .*, followed by any character.

Cheers, 

Damon

-- 

Damon Allen Davison
[EMAIL PROTECTED]

"A UNIX life is hard."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to