Re: Double Backslash example patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Double Backslash example patch
Date
Msg-id 200312160122.hBG1Mod19303@candle.pha.pa.us
Whole thread Raw
In response to Re: Double Backslash example patch  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Double Backslash example patch  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut wrote:
> David Fetter wrote:
> > Please find enclosed a patch exemplifying typical use of the ARE
> > Class-Shorthand Escapes??.  I believe it will help intrepid regex
> > users. :)
>
> If you want to explain something, it's normally better to create an
> example just for that point, instead of piggybacking it onto another
> example. Else you just make it harder for people to recognize the
> relevant information.
>
> For instance, in the case you want to patch the example aims to show how
> patterns are not anchored, as opposed to the pattern for the LIKE
> operator.  What does the escape syntax of the pattern have to do with
> that?

He is reminding folks about double-backslashes in a relivant place ---
makes sense to me.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Double Backslash example patch
Next
From: Bruce Momjian
Date:
Subject: Re: fork/exec patch