string search and modification
Wed Sep 6 22:23:43 CEST 2006
Jim Britain <nomail2me at charter.net> writes:
> I would like to match [22.214.171.124] (including the qualifying
> brackets), but be able to simply return the contents, without the
>>> m = 'dsl-kk-dynamic-013.38.22.125.touchtelindia.net [126.96.36.199] (may be'
g.group(1) matches the stuff in the first set of parens, which excludes
the square brackets.
More information about the Python-list