From: Yaroslav H. <li...@on...> - 2006-10-19 21:29:35
|
> >> t = re.search('^(?P<host>\S*)','202.106.192.134 2006/10/17 18:07:48') > >> t.group() > > '202.106.192.134' > If you are using the official 0.6.1 release, (?P<host>\S*) is not > supported. This is only available in the Debian version and the 0.7.x > release. NB would be better to say "is not required". Grouping doesn't do any harm on 'non supported' versions but is very desired on the later ones -- .-. =------------------------------ /v\ ----------------------------= Keep in touch // \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User ^^-^^ [175555] |