Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74293

How to write match nth grouped subexpression?

Newsgroups comp.lang.python
Date 2014-07-10 01:57 -0700
Message-ID <53ada36b-e1ce-4487-b9ac-0a162e3da8c3@googlegroups.com> (permalink)
Subject How to write match nth grouped subexpression?
From rxjwg98@gmail.com

Show all headers | View raw


Hi,

It says that: match checks for a match only at the beginning of the string.
Then, it also says that: \1...\9	Matches nth grouped subexpression.

I don't know how to write a script to include grouped subexpression in match?


Thanks, 

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

How to write match nth grouped subexpression? rxjwg98@gmail.com - 2014-07-10 01:57 -0700
  Re: How to write match nth grouped subexpression? Cameron Simpson <cs@zip.com.au> - 2014-07-10 19:50 +1000

csiph-web