note 55741 deleted from function.nl2br by googleguy
| From: | googleguy@php.net | Date: | Thu, 13 Jun 2013 11:11:50 +0000 |
| Subject: | note 55741 deleted from function.nl2br by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195189@lists.php.net to get a copy of this message | ||
Note Submitter: x against capital x at x everywhere x
----
Regarding last post by admin at ninthcircuit, I think:
"rather than get into nasty regular expressions" === "I don't understand regular
expressions"
No offense, but please be aware that kristen's solution is much more robust. The ninthcircuit
solution will miss cases when there are differences in case (e.g., BR instead of br) and when there
is more than one space between the r and the / (e.g., <br />).
We all like robust code, don't we?