Hostmask matching

Nexu nexu.jin at gmail.com
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??-??-101-101.someisp.com
But using re.search(). 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