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


Groups > comp.lang.python > #80545

Re: What is \1 here?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: What is \1 here?
Date Tue, 11 Nov 2014 17:35:14 +0000 (UTC)
Organization A noiseless patient Spider
Lines 10
Message-ID <m3thci$vod$3@dont-email.me> (permalink)
References <6720bebb-8263-4fb1-bcef-10dcfdc44905@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 11 Nov 2014 17:35:14 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="32525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bX2N01r8bb8nNFp4eqTNDAvThFGG97ZE="
User-Agent Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2)
Cancel-Lock sha1:5aCsl6NSYmhKiny3++YLkqXhB9I=
Xref csiph.com comp.lang.python:80545

Show key headers only | View raw


On Tue, 11 Nov 2014 01:18:02 -0800, satishmlmlml wrote:

> What does \1 do in the following piece of code(fourth line)?

It tells you to learn about regex.

http://www.pcre.org/pcre.txt

-- 
Denis McMahon, denismfmcmahon@gmail.com

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


Thread

What is \1 here? satishmlmlml@gmail.com - 2014-11-11 01:18 -0800
  Re: What is \1 here? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-11 10:03 +0000
  Re: What is \1 here? Ned Batchelder <ned@nedbatchelder.com> - 2014-11-11 06:52 -0500
  Re:What is \1 here? Dave Angel <davea@davea.name> - 2014-11-11 07:22 -0500
  Re: What is \1 here? Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-11 17:35 +0000

csiph-web