Hi
       I am trying to extract a pattern from a file. Actually there are 2 occurances of the pattern in the file, one in line 2-3 and other in line 4. But the program is only reporting the occurance in line 4.
 
     The reason why i am giving (.|\n) coupled 'match_not_dot_newline' with is that i want the regex to be perl compatible.
      Why is the program not reporting the first occurance ? Is this a bug ? I am attaching the code and  file.
 
 
Thanks
Kiran.