Skip to content

Commit 1ff8dc9

Browse files
committed
Improve documentation for jsonpath like_regex predicate
Reference posix regex documentation section and list supported flags. Discussion: https://postgr.es/m/CAKPRHz%2BxOuQSSvkuB1mCQjedd%2BB2B1Vnkrq0E-pLmoXyTO%2Bz9Q%40mail.gmail.com Author: Kyotaro Horiguchi, Alexander Korotkov
1 parent 261a5c1 commit 1ff8dc9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/src/sgml/func.sgml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12048,7 +12048,11 @@ table2-mapping
1204812048
</row>
1204912049
<row>
1205012050
<entry><literal>like_regex</literal></entry>
12051-
<entry>Tests pattern matching with POSIX regular expressions</entry>
12051+
<entry>
12052+
Tests pattern matching with POSIX regular expressions
12053+
(<xref linkend="functions-posix-regexp"/>). Supported flags
12054+
are <literal>i</literal>, <literal>s</literal>, <literal>m</literal>,
12055+
<literal>x</literal> and <literal>q</literal>.</entry>
1205212056
<entry><literal>["abc", "abd", "aBdC", "abdacb", "babc"]</literal></entry>
1205312057
<entry><literal>$[*] ? (@ like_regex "^ab.*c" flag "i")</literal></entry>
1205412058
<entry><literal>"abc", "aBdC", "abdacb"</literal></entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy