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? >

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

2001-06-07 Thread Lee Goddard
> 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 to

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

2001-06-07 Thread $Bill Luebkert
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 to have escaped sing

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 wor

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... l

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 '.' > un

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? Thanks in anticipation, lee ___ Perl-Win32-Users mail