note 24437 deleted from language.types.string by colder
| From: | colder@php.net | Date: | Tue, 17 Oct 2006 17:52:57 +0000 |
| Subject: | note 24437 deleted from language.types.string by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118627@lists.php.net to get a copy of this message | ||
Note Submitter: junkit at gmx dot net
----
If you need to escape "$" to be escaped in the output, you need "\\\\$" - or
maybe even more!
$ is a control character in Latex. If you want it to become \$ for further processing through Latex,
it seems that there must be 4 (!) backslashes - so that in the end there is one left after
processing the string twice. Once through str_replace and once through preg_replace!
Using 4.1.0 on Windows.