Oh, wait. No, your sample data line begins (^) with a different literal (Mortality from pneumonia). Now it makes sense.
Update: Okay, now you provide a completely different input line. But it still doesn't have the literal double-quote which you are trying to match in the pattern. See the \" in your pattern? Every literal character in the regex pattern must match exactly in the input, or it will fail the match.
--
[ e d @ h a l l e y . c c ]
In reply to Re: Regex problem II
by halley
in thread Regex problem II
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |