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