On Dec 10, 2003, at 9:39 PM, Ron Newman wrote:


If I slurp a file into a string variable (either Uri's way or my own way), and then do a regexp match, I'd like to determine the line number(s) of the match. Is there a straightforward or canonical way to do this?

I've already gotten one private reply of "don't slurp the file". To head off any more, I should add that my regexp match may span multiple lines.


_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to