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

Home » Imported messages » comp.lang.php » regex help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
regex help [message #176237] Fri, 09 December 2011 03:51 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
OK, guys, I'll be the first to admit my regex knowledge is more than
limited. And I've never used ereg().

So, I need to convert the following ereg() call in some code I'm
modifying to a preg() call. Can someone please tell me what the ereg()
does and the equivalent preg()?

if (ereg("(error</b>:)(.+)(<br)", $buffer, $regs))

TIA.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: <beg> ADODB PHP Extension Help </beg>
Next Topic: Edit a record?
Goto Forum:
  

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

Current Time: Fri Nov 29 15:08:23 GMT 2024

Total time taken to generate the page: 0.04928 seconds