On 4/06/2006 4:45 PM, Nexu wrote:
> 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
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 starts with '*'.
> > What is the best
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 starts with '*'.
> What is the best way to solve this?
I suppose the problem occurs because you expression
On 4/06/2006 1:57 PM, Nexu wrote:
> I'm trying to write a def
Perhaps you mean a function?
> to match a string that is an irc hostmask. eg:
> [EMAIL PROTECTED]
> But using re.search().
If you want to find an IRC hostmask in some longer string, yes, use
re.search(). However if you want to check
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