note 110077 deleted from function.preg-replace by cmb
| From: | cmb@php.net | Date: | Mon, 21 Nov 2016 19:39:08 +0000 |
| Subject: | note 110077 deleted from function.preg-replace by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207307@lists.php.net to get a copy of this message | ||
Note Submitter: henke at henke37 dot cjb dot net
----
Warning: not all strings are from a regular language, some are from context free grammars.
Here is a pair of strings that are impossible to correctly parse with regular expressions:
a*(b+(c*d)-e)/(f-(g*h)+i)-j
a[i]b[i]c[/i]d[/i]e[i]f[i]g[/i]h[/i]