Re: preg_match parsing problems

From: Date: Mon, 27 Nov 2000 22:13:26 +0000
Subject: Re: preg_match parsing problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27461@lists.php.net to get a copy of this message
Jeremy Jacobs wrote: > ~~~~~ > <a href="URL_NAME" blah blah mouseover Javascript > code>TITLE</a><br> > > DESCRIPTION OF TITLE.<p> > ~~~~~~ maybe > $pattern_url = "/\s*<a > href=\"([^\"]+)\"[^>]+>(.+)</a><br>(.+)<p>/s /s is treat as single line. You should read up on /m (treat as multi line) and /s, and the effect of using '.' I get confused, so you may have to play with this.

« previous php.general (#27461) next »