in reply to Re: lookaround assertions
in thread lookaround assertions
That regex needs to be made case insensitive, matching the underlying HTML. Note also that the regex still assumes that the VALUE attribute and SELECTED property appear in the given sequence, that the white space is strictly as expected, and that double quotes are used.
These kind of assumptions are only going to be valid if you are absolutely sure of the format of the HTML, otherwise you will need to parse properly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: lookaround assertions
by educated_foo (Vicar) on Apr 01, 2004 at 15:27 UTC |