Re: Double Backslash example patch
От | Bruce Momjian |
---|---|
Тема | Re: Double Backslash example patch |
Дата | |
Msg-id | 200312180358.hBI3wkj00743@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Double Backslash example patch (David Fetter <david@fetter.org>) |
Список | pgsql-patches |
I have applied your additional example in the place Peter suggested. Patch attached. --------------------------------------------------------------------------- David Fetter wrote: > Kind people, > > Please find enclosed a patch exemplifying typical use of the ARE > Class-Shorthand Escapes®. I believe it will help intrepid regex > users. :) > > Cheers, > D > -- > David Fetter david@fetter.org http://fetter.org/ > phone: +1 510 893 6100 cell: +1 415 235 3778 [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- 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 Index: doc/src/sgml/func.sgml =================================================================== RCS file: /cvsroot/pgsql-server/doc/src/sgml/func.sgml,v retrieving revision 1.182 diff -c -c -r1.182 func.sgml *** doc/src/sgml/func.sgml 16 Dec 2003 15:27:58 -0000 1.182 --- doc/src/sgml/func.sgml 18 Dec 2003 03:53:59 -0000 *************** *** 3134,3140 **** <note> <para> Keep in mind that an escape's leading <literal>\</> will need to be ! doubled when entering the pattern as an SQL string constant. </para> </note> --- 3134,3143 ---- <note> <para> Keep in mind that an escape's leading <literal>\</> will need to be ! doubled when entering the pattern as an SQL string constant. For example: ! <programlisting> ! '123' ~ '^\\d{3}' <lineannotation>true</lineannotation> ! </programlisting> </para> </note>
В списке pgsql-patches по дате отправления: