FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » preg_replace help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: preg_replace help [message #173738 is a reply to message #173735] Mon, 02 May 2011 16:05 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(Jerry Stuckle)

> First of all, the PHP preg_xxx() functions require a separator character
> around the search string. Stupid, I know, but then there are a lot of
> stupid things in PHP.

It avoids ambiguities when using modifiers, which are noted after the
delimiter. Other languages do it the same way, so it's nothing you can
blame PHP for.

Micha
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to extract value using php soapclient
Next Topic: Upgraded -- But Still Showing Old PHP Version
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 13:51:30 GMT 2024

Total time taken to generate the page: 0.04873 seconds