RE: Regex Question: splitting at a point unless part of a quoted substring

2001-06-07 Thread erskine, michael
-Original Message- From: Lee Goddard [mailto:[EMAIL PROTECTED]] Sent: 07 June 2001 11:14 To: Perl_Users Subject: Regex Question: splitting at a point unless part of a quoted substring I need to split a string at all full-stops '.' unless they are part of a sub-string within

RE: Regex Question: splitting at a point unless part of a quoted substring

2001-06-07 Thread Lee Goddard
I need to split a string at all full-stops '.' unless they are part of a sub-string within quotes. Should I manually loop over the file, setting flags, or can I do this with a regular expression? And of course, I need to have escaped single-quotes too, \' Thanks in anticipation... lee

RE: Regex Question: splitting at a point unless part of a quoted substring

2001-06-07 Thread Lee Goddard
I need to split a string at all full-stops '.' unless they are part of a sub-string within quotes. Should I manually loop over the file, setting flags, or can I do this with a regular expression? And of course, I need to have escaped single-quotes too, \' In other words, can

Re: Regex Question: splitting at a point unless part of a quoted substring

2001-06-07 Thread $Bill Luebkert
Lee Goddard wrote: Lee Goddard wrote: I need to split a string at all full-stops '.' unless they are part of a sub-string within quotes. Should I manually loop over the file, setting flags, or can I do this with a regular expression? And of course, I need