Re: Regex guru needed
| From: | Tobias Schlitt | Date: | Mon, 15 Nov 2004 20:54:03 +0000 |
| Subject: | Re: Regex guru needed | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34408@lists.php.net to get a copy of this message | ||
Hi Stefan Ohrmann!
On 11/14/2004 04:47 PM you wrote:
Hello, Am 13.11.2004 15:44 schrieb Tobias Schlitt:To show you, what I mean I wrote a little example which shows the same bahavior with much fewer code: <snip title="code"> $string = "(aaa bbb ccc ddd)";
This testcase is a really simple one, should the regex also match on following cases?
"(aaa=bbb, ccc, ddd)" "(aaa = bbb, ccc, ddd = array())" ...Thats why my original regex [1] is much more complex than the present one. This one here was just for testing/demonstration purpose. [1] http://www.schlitt.info/applications/blog/index.php?/archives/279-Regex-guru-needed.html#extended -- Tobias Schlitt GPG Key: 0xA6529579 a passion for php http://www.schlitt.info Like to say "thank you"? - http://pear.php.net/wishlist.php/toby