[PHP] Re: POSIX and PCRE help

2002-11-17 Thread Aaron
In what case would you have a semi-colon in the string? Orangehairedboy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Aaron, Thanks for the advise, but I'm got a problem. If I first split it up by /;/, how do I catch it if there's a semi-colon inside a

[PHP] Re: POSIX and PCRE help

2002-11-17 Thread OrangeHairedBoy
Probably none of the standard headers, but perhaps a custom header defined by the user. It's allowed for in RFC 822 and I'd like to support it. Why do you ask? Do you have a solution? Aaron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In what case would you

[PHP] Re: POSIX and PCRE help

2002-11-16 Thread Aaron
Lewis, First I would look at breaking out the tags: // User: JohnDoe; age=32; nickname=Billy 'the' Kid; haircolor=orange; $string = 'User: JohnDoe; age=32; nickname=Billy \'the\' Kid; haircolor=orange;'; $stringArray = preg_split('/;/', $string, -1, PREG_SPLIT_NO_EMPTY); Then split

[PHP] Re: POSIX and PCRE help

2002-11-16 Thread OrangeHairedBoy
Aaron, Thanks for the advise, but I'm got a problem. If I first split it up by /;/, how do I catch it if there's a semi-colon inside a string? Lewis Aaron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Lewis, First I would look at breaking out the tags: