From 5c4d4bae9267cc67b79f4175c30f748322620e30 Mon Sep 17 00:00:00 2001 From: tuminglei Date: Thu, 18 Feb 2021 19:13:00 +0800 Subject: [PATCH] update `str` README.md --- core/src/main/scala/com/github/tminglei/slickpg/str/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/scala/com/github/tminglei/slickpg/str/README.md b/core/src/main/scala/com/github/tminglei/slickpg/str/README.md index c180b9e1..24efa0ad 100644 --- a/core/src/main/scala/com/github/tminglei/slickpg/str/README.md +++ b/core/src/main/scala/com/github/tminglei/slickpg/str/README.md @@ -9,3 +9,7 @@ Supported Search Oper/Functions | convertTo | convert_to | Convert string to dest_encoding | convert_to('some text', 'UTF8') | `some text` represented in the UTF8 encoding | | encode | encode | Encode binary data into a textual representation. Supported formats are: base64, hex, escape | encode(E'123\\000\\001', 'base64') | MTIzAAE= | | decode | decode | Decode binary data from textual representation in string. Options for format are same as in encode | decode('MTIzAAE=', 'base64') | \x3132330001 | +| ~ | ~ | Matches regular expression, case sensitive | 'thomas' ~ '.\*thomas.\*' | t | +| ~\* | ~\* | Matches regular expression, case insensitive | 'thomas' ~\* '.\*Thomas.\*' | t | +| !~ | !~ | Does not match regular expression, case sensitive | 'thomas' !~ '.\*Thomas.\*' | t | +| !~\* | !~\* | Does not match regular expression, case insensitive | 'thomas' !~\* '.\*vadim.\*' | t |