PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   The Mole Hole (http://www.phpdig.net/forum/forumdisplay.php?f=17)
-   -   Easy RegExp Trivia (http://www.phpdig.net/forum/showthread.php?t=64)

Charter 09-12-2003 09:51 AM

Easy RegExp Trivia
 
Here's an easy one... In words, describe what the following does:
PHP Code:

$foo eregi_replace("([a-z0-9])[/]+","\\\\1/",$foo); 


druesome 10-27-2003 10:26 AM

I'm guessing it converts any alphanumeric character followed by a slash in $foo into the characters \1/ then spits out $foo? Just a wild guess from a newbie.:p


All times are GMT -8. The time now is 05:09 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.