ConfigParser, no attribute

2006-06-05 Thread Nexu
#x27;, 'ProtectME'): print 'protection enabled' ----- ERRORS: File "/home/nexu/.xchat2/nxscript/nx.py", line 43, in ? setting = Settings() File "/home/nexu/.xchat2/nxscript/nx

Re: Hostmask matching

2006-06-03 Thread Nexu
On Sun, 2006-06-04 at 06:26 +, Marc Schoechlin wrote: > Hi ! > > Nexu <[EMAIL PROTECTED]> schrieb: > > I'm trying to write a def to match a string that is an irc hostmask. eg: > > [EMAIL PROTECTED] > > But using re.search(). I get an error when the string

Hostmask matching

2006-06-03 Thread Nexu
I'm trying to write a def to match a string that is an irc hostmask. eg: [EMAIL PROTECTED] But using re.search(). I get an error when the string starts with '*'. What is the best way to solve this? -- http://mail.python.org/mailman/listinfo/python-list