Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Error triggered with Nested quantifiers in regex

by anakin30 (Acolyte)
on Aug 25, 2010 at 03:33 UTC ( #857068=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Error triggered with Nested quantifiers in regex
in thread Reaped: Error triggered with Nested quantifiers in regex

previously the suggestion/advice was to change (m/^de.e++ ) to (m/^de\+\+), is this valid?

i couldn't find any lines (m/^de.e++) in the code so how am i gonna change it to (m/^de\+\+)

can you please explain in details

Thanks to you


Comment on Re^4: Error triggered with Nested quantifiers in regex
Re^5: Error triggered with Nested quantifiers in regex
by suhailck (Friar) on Aug 25, 2010 at 04:35 UTC

    421                if ($mail && ($mail =~ /^$edsMail$/i)) {

    Whats the value of $edsMail ??

      the value is Hugh.Jackman@dhl.com

      thanks for your reply

      i really appreciate it much

        try changing

        $mail=~/^$edsMail$/i

        to

        $mail=~/^\Q$edsMail\E$/i

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://857068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2014-09-23 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (233 votes), past polls