Improve documentation for jsonpath like_regex predicate
authorAlexander Korotkov
Wed, 19 Jun 2019 19:41:05 +0000 (22:41 +0300)
committerAlexander Korotkov
Wed, 19 Jun 2019 19:41:57 +0000 (22:41 +0300)
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

doc/src/sgml/func.sgml

index e9181338742243a76ec202e87128977b3f5177f7..3a8581d2050af132930c517a54917a62575e0c35 100644 (file)
@@ -12048,7 +12048,11 @@ table2-mapping
        
        
         like_regex
-        Tests pattern matching with POSIX regular expressions
+        
+          Tests pattern matching with POSIX regular expressions
+          ().  Supported flags
+          are ism,
+          x and q.
         ["abc", "abd", "aBdC", "abdacb", "babc"]
         $[*] ? (@ like_regex "^ab.*c" flag "i")
         "abc", "aBdC", "abdacb"