Re: FAQ: replace first instance (couldn't find in archive)
| From: | Dotan Cohen | Date: | Thu, 28 Jul 2005 15:09:28 +0000 |
| Subject: | Re: FAQ: replace first instance (couldn't find in archive) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219517@lists.php.net to get a copy of this message | ||
On 7/28/05, Jochem Maas <jochem@iamjochem.com> wrote:
> the hash signs are regexp delimiters - you don't ness. need to use hash signs,
> normally I either use # or / .
>
> some of the examples here http://nl2.php.net/preg_replace use @
>
> in short read this (like 10 times :-):
> http://nl2.php.net/manual/en/reference.pcre.pattern.syntax.php
>
> eventually it starts to sink in ;-)
>
Oh, I've read it, but only about 8 times! For whatever reason, I
wasn't putting in slashes or hash signs, I guess I just wasn't
thinking...
I should probably go over it once again- I last read it about a year
ago and I'm sure that even the stuff that hasn't changed isn't as well
sunk-in as it could be. Thanks.
Dotan
http://lyricslist.com/lyrics/artist_albums/273/jackson_michael.php
Jackson, Michael Song Lyrics