[Sussex] [OT kinda] PHP and regex

Macdonald-Wallace, Matthew J s0209208 at glos.ac.uk
Mon Nov 25 19:20:05 UTC 2002


>> "^<a href[\"\'A-Za-z0-9_+\.+\"\']>[A-Za-z0-9+\.A-Za-z0-9+]</a>"
>
>Aren't you missing an equals sign?  Surely the string you are 
>matching should begin with:
>
><a href=" 
>
>not:
>
><a href"

Yeah, there probably should be something like that in there... ;o)
/me looks sheepish and blushes for not checking before posting...

:oP




More information about the Sussex mailing list