projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed96bfd
)
Please find enclosed a patch exemplifying typical use of the ARE
author
Bruce Momjian
Thu, 18 Dec 2003 03:59:07 +0000
(
03:59
+0000)
committer
Bruce Momjian
Thu, 18 Dec 2003 03:59:07 +0000
(
03:59
+0000)
Class-Shorthand Escapes
. I believe it will help intrepid regex
users. :)
David Fetter
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index 5724b9b2561442a898f7336637ecb909d3fead15..16ed17b118ab0bdf92292a03209192fd157b4809 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-1,5
+1,5
@@
@@
-3134,7
+3134,10
@@
substring('foobar' from 'o(.)b')
o
Keep in mind that an escape's leading
\> will need to be
- doubled when entering the pattern as an SQL string constant.
+ doubled when entering the pattern as an SQL string constant. For example:
+
+'123' ~ '^\\d{3}'
true
+