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


Groups > comp.lang.python > #20397

Re: re module: Nothing to repeat, but no sre_constants.error: nothing to repeat ?

References <mailman.5792.1329194327.27778.python-list@python.org> <0cc200e6-6e4c-47b7-8563-3abc3ac94f22@k10g2000yqk.googlegroups.com>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date 2012-02-14 08:33 -0500
Subject Re: re module: Nothing to repeat, but no sre_constants.error: nothing to repeat ?
Newsgroups comp.lang.python
Message-ID <mailman.5798.1329226436.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Feb 14, 2012 at 8:20 AM, Vinay Sajip <vinay_sajip@yahoo.co.uk> wrote:
> $ is a meta character for regular expressions. Use '\$*', which does
> compile.

I mean for it to be a meta-character.

I'm wondering why it's OK for to repeat a zero-width match if it is a
zero-width assertion.

-- Devin

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


Thread

re module: Nothing to repeat, but no sre_constants.error: nothing to repeat ? Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-02-13 23:38 -0500
  Re: re module: Nothing to repeat, but no sre_constants.error: nothing to repeat ? Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-14 05:20 -0800
    Re: re module: Nothing to repeat, but no sre_constants.error: nothing to repeat ? Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-02-14 08:33 -0500

csiph-web