in reply to regex matching issue

Just a guess: You call your variable $line, but you have a multi-line-input. Have you doublechecked the whole text is in that variable?

HTH, Rata

Replies are listed 'Best First'.
Re^2: regex matching issue
by rahulgsp83 (Novice) on Mar 09, 2010 at 16:12 UTC
    thanks for all the replies ,you are right ,i am having a multi line input ,i checked all the data is in that variable ,is there any special quantifier in case of multi which we need to care of? Regards, Rahul