For some reason, i CANNOT get preg to match on a double quote. Here's the code:
$bolMatchedWidths = preg_match_all("/width=(\\'|\\"|)(\d+)(\\'|\\"|)/i", $strContent, $aryMatchedWidths);
As you can see, i'm trying to match on any width tags in an HTML page. The \ are in there to account for the fact that the HTML to be searched is being submitted via a form, so magic quotes are causing the single and double quotes to be escaped. So i account for that.
Anyway, my code catches no quotes (an acceptable case), and single quotes, but NOT double quotes. Any idea why???