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
This commit is contained in:
parent
261a5c1928
commit
1ff8dc9f19
@ -12048,7 +12048,11 @@ table2-mapping
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>like_regex</literal></entry>
|
||||
<entry>Tests pattern matching with POSIX regular expressions</entry>
|
||||
<entry>
|
||||
Tests pattern matching with POSIX regular expressions
|
||||
(<xref linkend="functions-posix-regexp"/>). Supported flags
|
||||
are <literal>i</literal>, <literal>s</literal>, <literal>m</literal>,
|
||||
<literal>x</literal> and <literal>q</literal>.</entry>
|
||||
<entry><literal>["abc", "abd", "aBdC", "abdacb", "babc"]</literal></entry>
|
||||
<entry><literal>$[*] ? (@ like_regex "^ab.*c" flag "i")</literal></entry>
|
||||
<entry><literal>"abc", "aBdC", "abdacb"</literal></entry>
|
||||
|
Loading…
x
Reference in New Issue
Block a user