RE: [PHP] I suck at regular expressions! -- not as bad, now
| From: | Richard S. Crawford | Date: | Thu, 15 Nov 2001 15:47:42 +0000 |
| Subject: | RE: [PHP] I suck at regular expressions! -- not as bad, now | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74723@lists.php.net to get a copy of this message | ||
Thanks to everyone who helped me figure this out.
I foolishly didn't realize that I was using the htmlspecialchars() function on the string that I was pulling from the file, but not accounting for that in the regexp. So, what I was getting was:
<title>BLAH BLAH BLAH</title>but what I was trying to find was:
< title >BLAH BLAH BLAH< /title >It's all good now. Sliante, Richard S. Crawford http://www.mossroot.com mailto:rscrawford@mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"