Hostmask matching

Nexu nexu.jin at
Sun Jun 4 05:57:13 CEST 2006

I'm trying to write a def to match a string that is an irc hostmask. eg:
*one!~*name at a??-??
But using I get an error when the string starts with '*'.
What is the best way to solve this?

More information about the Python-list mailing list