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

Replies are listed 'Best First'.
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