|
-
Feb 25th, 2008, 07:31 PM
#3
Re: confusing preg_match_all function
 Originally Posted by visualAd
Your regular expression is not meant to have hashes in "#"
I use hashes. Lots of characters can be used as start and end tokens.
The expression doesn't work because you've unnecessarily escaped the double quote characters. These do not need to be escaped in single-quoted string literals.
However, I would use the DOM (as advised) and an XPath query.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|