Re: Re: Regular expression - dot problem!

2006-06-07 Thread 李政
Fredrik Lundh <[EMAIL PROTECTED]> wrote:李政 wrote:> I've a problem with regular express(dot problem). I checked Python > Library Reference, but i can't find any infomation that is useful.like what a dot means in a regular _expression_? you really need to workon your google fu ;-)in the meantime,

Re: Regular expression - dot problem!

2006-06-07 Thread Fredrik Lundh
李政 wrote: > I've a problem with regular express(dot problem). I checked Python > Library Reference, but i can't find any infomation that is useful. like what a dot means in a regular expression? you really need to work on your google fu ;-) in the meantime, look under "The special characters a

Regular expression - dot problem!

2006-06-07 Thread 李政
Hi,   I've a problem with regular express(dot problem). I checked Python Library Reference, but i can't find any infomation that is useful . Nor did Google. They have the same way:     re.compile(''www").match(string).   It always works better. But my pattern string must be an arg