The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Death by regular expression by Hoth2004-12-21 14:54:18
  My first guess would be that you need by ManiacJoe2004-12-21 17:50:08
    Was my guess as well by Hoth2004-12-21 19:41:52
      And preg_quote is no help by Hoth 2004-12-21 19:50:31
as using it directly with
$msg = preg_replace('/'. preg_quote('<div style="text-align: center;">') .'(.*?)'. preg_quote('</div>') .'/i', '[center]$1[/center]', $msg);
just results in "Warning: Unknown modifier 'd' in /var/www/html/wsnforum/commonfuncs.php on line 1815"

I'll try plan F: getting some sleep.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)