Re: Regex expert needed

2005-05-02 Thread Alex Malinovich
On Sat, 2005-04-30 at 21:42 +0100, Alan Chandler wrote: > I am using PHP and I am trying to parse a string into substrings delimited by > a single character. In some instances this is a ',' in others it will be '='. > > I think the php function preg_split is the one to use, but I need find the >

Re: Regex expert needed

2005-05-02 Thread Alan Chandler
On Monday 02 May 2005 15:06, Alex Malinovich wrote: > On Sat, 2005-04-30 at 21:42 +0100, Alan Chandler wrote: > > I am using PHP and I am trying to parse a string into substrings > > delimited by a single character. In some instances this is a ',' in > > others it will be '='. > > > > I think the p

Re: Regex expert needed

2005-05-03 Thread michael
On Mon, 2005-05-02 at 16:08 +0100, Alan Chandler wrote: > For instance I want the parse this string > > Form = 'This is a bad bad thing, but not as bad as it would be if \"x = 5\", > so thats it',Connection=5 > > Into the strings > > Form > > = > > 'This is a bad bad thing, but not as bad as

Re: Regex expert needed

2005-05-03 Thread David Jardine
On Tue, May 03, 2005 at 09:50:08AM +0100, michael wrote: > On Mon, 2005-05-02 at 16:08 +0100, Alan Chandler wrote: > > > For instance I want the parse this string > > > > Form = 'This is a bad bad thing, but not as bad as it would be if \"x = > > 5\", > > so thats it',Connection=5 > > > > Into

Re: Regex expert needed

2005-05-03 Thread Alex Malinovich
On Mon, 2005-05-02 at 16:08 +0100, Alan Chandler wrote: --snip-- > For instance I want the parse this string > > Form = 'This is a bad bad thing, but not as bad as it would be if \"x = 5\", > so thats it',Connection=5 > > Into the strings > > Form > > = > > 'This is a bad bad thing, but not a

Re: Regex expert needed

2005-05-03 Thread Alan Chandler
On Tuesday 03 May 2005 09:50, michael wrote: > On Mon, 2005-05-02 at 16:08 +0100, Alan Chandler wrote: ... > > 'This is a bad bad thing, but not as bad as it would be if \"x=5\", so > > thats it' > Would be yet harder still if you correct your grammar and put the > missing apostrophe in penultimat

Re: Regex expert needed

2005-05-03 Thread David Jardine
On Tue, May 03, 2005 at 07:22:39PM +0100, Alan Chandler wrote: > On Tuesday 03 May 2005 09:50, michael wrote: > > On Mon, 2005-05-02 at 16:08 +0100, Alan Chandler wrote: > ... > > > 'This is a bad bad thing, but not as bad as it would be if \"x=5\", so > > > thats it' > > > Would be yet harder sti

Re: Regex expert needed

2005-05-04 Thread Mr Mike
On Saturday 30 April 2005 03:42 pm, Alan Chandler wrote: > I am using PHP and I am trying to parse a string into substrings delimited by > a single character. In some instances this is a ',' in others it will be '='. > > I think the php function preg_split is the one to use, but I need find the

Re: Regex expert needed

2005-05-04 Thread Roberto C. Sanchez
Mr Mike wrote: > On Saturday 30 April 2005 03:42 pm, Alan Chandler wrote: > >> > > > You know... if I ask this sorta question all I get is RTFM and in reality > that's the correct answer... When I had regex questions I > bought a couple books and spent hours and hours reading and experiment

Re: Regex expert needed

2005-05-04 Thread Alan Chandler
On Wednesday 04 May 2005 08:41, Mr Mike wrote: > On Saturday 30 April 2005 03:42 pm, Alan Chandler wrote: > > I am using PHP and I am trying to parse a string into substrings ... > > You know... if I ask this sorta question all I get is RTFM and in reality > that's the correct answer... When I ha

Re: Regex expert needed

2005-05-04 Thread Tony Godshall
According to Alan Chandler, > On Wednesday 04 May 2005 08:41, Mr Mike wrote: > > On Saturday 30 April 2005 03:42 pm, Alan Chandler wrote: > > > I am using PHP and I am trying to parse a string into substrings > ... > > > > You know... if I ask this sorta question all I get is RTFM and in reality >

Re: Regex expert needed

2005-05-04 Thread Monique Y. Mudama
On 2005-05-04, Roberto C. Sanchez penned: > > Mr Mike wrote: >> >> You know... if I ask this sorta question all I get is RTFM and in >> reality that's the correct answer... When I had regex questions I >> bought a couple books and spent hours and hours reading and >> experimenting till I figured

Re: Regex expert needed

2005-05-05 Thread Mr Mike
On Wednesday 04 May 2005 03:32 am, Roberto C. Sanchez wrote: > Mr Mike wrote: > > On Saturday 30 April 2005 03:42 pm, Alan Chandler wrote: > > > > >> > > > > > > You know... if I ask this sorta question all I get is RTFM and in reality > > that's the correct answer... When I had regex questi