Regex Match Problem

Garry Knight garryknight at gmx.net
Wed Mar 10 14:25:50 EST 2004


In message <1078945403.8188.0 at echo.uk.clara.net>, Garry Knight wrote:

> I remember what it was like when I was new to REs:
...
> '[^.]*' is meaningless as far as REs are concerned.
> It indicates something like "match 0 or more of anything that's not one of
> any character".

Seems I'm still fairly new to REs: I forgot that a '.' is literal when used
in a character class. Apologies for that.

-- 
Garry Knight
garryknight at gmx.net  ICQ 126351135
Linux registered user 182025



More information about the Python-list mailing list