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 [EMAIL PROTECTED] http://fetter.org/
phone: +1 510 893 6100    cell: +1 415 235 3778
Index: func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
retrieving revision 1.180
diff -2 -c -r1.180 func.sgml
*** func.sgml   29 Nov 2003 19:51:37 -0000      1.180
--- func.sgml   7 Dec 2003 01:46:46 -0000
***************
*** 2634,2638 ****
       regular expression is allowed to match anywhere within a string, unless
       the regular expression is explicitly anchored to the beginning or
!      end of the string.
      </para>
  
--- 2634,2640 ----
       regular expression is allowed to match anywhere within a string, unless
       the regular expression is explicitly anchored to the beginning or
!      end of the string.  The last example includes a double backslash,
!      which is usually required for using ARE shorthand <xref
!      linkend="posix-class-shorthand-escapes-table">.
      </para>
  
***************
*** 2644,2647 ****
--- 2646,2650 ----
  'abc' ~ '(b|d)'  <lineannotation>true</lineannotation>
  'abc' ~ '^(b|c)' <lineannotation>false</lineannotation>
+ '123' ~ '^\\d{3}' <lineannotation>true</lineannotation>
  </programlisting>
     </para>
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to