# 模式匹配与 JSON 运算符实现

> 供 LIKE、正则表达式及 JSON 字段访问调用。

---

LLMS 索引： [llms.txt](/zh/llms.txt)

---

供 LIKE、正则表达式及 JSON 字段访问调用。

## A {#a}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-anycompatiblelikebytea-pg-catalog-anycompatible-pg-catalog-bytea-ddec1a44" href="#mysql-anycompatiblelikebytea-pg-catalog-anycompatible-pg-catalog-bytea-ddec1a44">`mysql.anycompatiblelikebytea(anycompatible, bytea) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L84-L87) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1015-L1025) |
| <a id="mysql-anycompatiblenlikebytea-pg-catalog-anycompatible-pg-catalog-bytea-699bca9f" href="#mysql-anycompatiblenlikebytea-pg-catalog-anycompatible-pg-catalog-bytea-699bca9f">`mysql.anycompatiblenlikebytea(anycompatible, bytea) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L106-L109) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1041-L1051) |
| <a id="mysql-anycompatiblenregexpbinbytea-pg-catalog-anycompatible-pg-catalog-bytea-1795e282" href="#mysql-anycompatiblenregexpbinbytea-pg-catalog-anycompatible-pg-catalog-bytea-1795e282">`mysql.anycompatiblenregexpbinbytea(anycompatible, bytea) → boolean`</a> | 实现 !~ 运算（区分大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L194-L197) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1138-L1146) |
| <a id="mysql-anycompatiblenregexpbytea-pg-catalog-anycompatible-pg-catalog-bytea-90f0cd9a" href="#mysql-anycompatiblenregexpbytea-pg-catalog-anycompatible-pg-catalog-bytea-90f0cd9a">`mysql.anycompatiblenregexpbytea(anycompatible, bytea) → boolean`</a> | 实现 !~* 运算（忽略大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L150-L153) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1094-L1102) |
| <a id="mysql-anycompatibleregexpbinbytea-pg-catalog-anycompatible-pg-catalog-bytea-1fda7f10" href="#mysql-anycompatibleregexpbinbytea-pg-catalog-anycompatible-pg-catalog-bytea-1fda7f10">`mysql.anycompatibleregexpbinbytea(anycompatible, bytea) → boolean`</a> | 实现 ~ 运算（区分大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L172-L175) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1116-L1124) |
| <a id="mysql-anycompatibleregexpbytea-pg-catalog-anycompatible-pg-catalog-bytea-7ff58b89" href="#mysql-anycompatibleregexpbytea-pg-catalog-anycompatible-pg-catalog-bytea-7ff58b89">`mysql.anycompatibleregexpbytea(anycompatible, bytea) → boolean`</a> | 实现 ~* 运算（忽略大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L128-L131) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1072-L1080) |

## B {#b}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-bigint-like-text-bigint-pg-catalog-text-d2630818" href="#mysql-bigint-like-text-bigint-pg-catalog-text-d2630818">`mysql.bigint_like_text(bigint, text) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L216-L224) |
| <a id="mysql-bigint-not-like-text-bigint-pg-catalog-text-2b366d44" href="#mysql-bigint-not-like-text-bigint-pg-catalog-text-2b366d44">`mysql.bigint_not_like_text(bigint, text) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L248-L256) |
| <a id="mysql-binary-regular-expr-bigint-pg-catalog-text-98eb7144" href="#mysql-binary-regular-expr-bigint-pg-catalog-text-98eb7144">`mysql.binary_regular_expr(bigint, text) → boolean`</a> | 实现 ~ 运算（区分大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L280-L286) |
| <a id="mysql-binary-regular-expr-not-bigint-pg-catalog-text-bc805a24" href="#mysql-binary-regular-expr-not-bigint-pg-catalog-text-bc805a24">`mysql.binary_regular_expr_not(bigint, text) → boolean`</a> | 实现 !~ 运算（区分大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L308-L314) |
| <a id="mysql-bpcharlike-character-pg-catalog-text-8a01c1af" href="#mysql-bpcharlike-character-pg-catalog-text-8a01c1af">`mysql.bpcharlike(character, text) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L6-L9) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/bpchar.c#L107-L130) |
| <a id="mysql-bpcharnlike-character-pg-catalog-text-b95e075e" href="#mysql-bpcharnlike-character-pg-catalog-text-b95e075e">`mysql.bpcharnlike(character, text) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L16-L19) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/bpchar.c#L133-L156) |
| <a id="mysql-bytea-like-hexlit-pg-catalog-bytea-mysql-hexlit-b713c68a" href="#mysql-bytea-like-hexlit-pg-catalog-bytea-mysql-hexlit-b713c68a">`mysql.bytea_like_hexlit(bytea, mysql.hexlit) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L165-L166) |
| <a id="mysql-bytea-nlike-hexlit-pg-catalog-bytea-mysql-hexlit-631e8178" href="#mysql-bytea-nlike-hexlit-pg-catalog-bytea-mysql-hexlit-631e8178">`mysql.bytea_nlike_hexlit(bytea, mysql.hexlit) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L165-L166) |
| <a id="mysql-bytealikeanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-d6e5ab97" href="#mysql-bytealikeanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-d6e5ab97">`mysql.bytealikeanycompatible(bytea, anycompatible) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L95-L98) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1028-L1038) |
| <a id="mysql-byteanlikeanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-6105d0dc" href="#mysql-byteanlikeanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-6105d0dc">`mysql.byteanlikeanycompatible(bytea, anycompatible) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L117-L120) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1054-L1064) |
| <a id="mysql-byteanregexpanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-5e86ee54" href="#mysql-byteanregexpanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-5e86ee54">`mysql.byteanregexpanycompatible(bytea, anycompatible) → boolean`</a> | 实现 !~* 运算（忽略大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L161-L164) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1105-L1113) |
| <a id="mysql-byteanregexpbinanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-b9fcba98" href="#mysql-byteanregexpbinanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-b9fcba98">`mysql.byteanregexpbinanycompatible(bytea, anycompatible) → boolean`</a> | 实现 !~ 运算（区分大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L205-L208) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1149-L1157) |
| <a id="mysql-byteanregexpbinbytea-pg-catalog-bytea-pg-catalog-bytea-e3666bcb" href="#mysql-byteanregexpbinbytea-pg-catalog-bytea-pg-catalog-bytea-e3666bcb">`mysql.byteanregexpbinbytea(bytea, bytea) → boolean`</a> | 实现 !~ 运算（区分大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L73-L76) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1187-L1193) |
| <a id="mysql-byteanregexpbytea-pg-catalog-bytea-pg-catalog-bytea-5401d5bd" href="#mysql-byteanregexpbytea-pg-catalog-bytea-pg-catalog-bytea-5401d5bd">`mysql.byteanregexpbytea(bytea, bytea) → boolean`</a> | 实现 !~* 运算（忽略大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L51-L54) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1169-L1175) |
| <a id="mysql-bytearegexpanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-1f162b5b" href="#mysql-bytearegexpanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-1f162b5b">`mysql.bytearegexpanycompatible(bytea, anycompatible) → boolean`</a> | 实现 ~* 运算（忽略大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L139-L142) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1083-L1091) |
| <a id="mysql-bytearegexpbinanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-d5cafe92" href="#mysql-bytearegexpbinanycompatible-pg-catalog-bytea-pg-catalog-anycompatible-d5cafe92">`mysql.bytearegexpbinanycompatible(bytea, anycompatible) → boolean`</a> | 实现 ~ 运算（区分大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L183-L186) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1127-L1135) |
| <a id="mysql-bytearegexpbinbytea-pg-catalog-bytea-pg-catalog-bytea-e77b0032" href="#mysql-bytearegexpbinbytea-pg-catalog-bytea-pg-catalog-bytea-e77b0032">`mysql.bytearegexpbinbytea(bytea, bytea) → boolean`</a> | 实现 ~ 运算（区分大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L62-L65) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1178-L1184) |
| <a id="mysql-bytearegexpbytea-pg-catalog-bytea-pg-catalog-bytea-26d9cfb1" href="#mysql-bytearegexpbytea-pg-catalog-bytea-pg-catalog-bytea-26d9cfb1">`mysql.bytearegexpbytea(bytea, bytea) → boolean`</a> | 实现 ~* 运算（忽略大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L40-L43) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mysm/user_var.c#L1160-L1166) |

## H {#h}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-hexlit-like-mysql-hexlit-mysql-hexlit-c6fe5421" href="#mysql-hexlit-like-mysql-hexlit-mysql-hexlit-c6fe5421">`mysql.hexlit_like(mysql.hexlit, mysql.hexlit) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L160-L161) |
| <a id="mysql-hexlit-like-bytea-mysql-hexlit-pg-catalog-bytea-7cc59a04" href="#mysql-hexlit-like-bytea-mysql-hexlit-pg-catalog-bytea-7cc59a04">`mysql.hexlit_like_bytea(mysql.hexlit, bytea) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L167-L168) |
| <a id="mysql-hexlit-like-text-mysql-hexlit-pg-catalog-text-eae13302" href="#mysql-hexlit-like-text-mysql-hexlit-pg-catalog-text-eae13302">`mysql.hexlit_like_text(mysql.hexlit, text) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L167-L168) |
| <a id="mysql-hexlit-nlike-mysql-hexlit-mysql-hexlit-7cd352af" href="#mysql-hexlit-nlike-mysql-hexlit-mysql-hexlit-7cd352af">`mysql.hexlit_nlike(mysql.hexlit, mysql.hexlit) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L160-L161) |
| <a id="mysql-hexlit-nlike-bytea-mysql-hexlit-pg-catalog-bytea-5eccfc85" href="#mysql-hexlit-nlike-bytea-mysql-hexlit-pg-catalog-bytea-5eccfc85">`mysql.hexlit_nlike_bytea(mysql.hexlit, bytea) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L167-L168) |
| <a id="mysql-hexlit-nlike-text-mysql-hexlit-pg-catalog-text-0b7034a1" href="#mysql-hexlit-nlike-text-mysql-hexlit-pg-catalog-text-0b7034a1">`mysql.hexlit_nlike_text(mysql.hexlit, text) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L167-L168) |

## J {#j}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-json-object-field-json-pg-catalog-text-9528a9e8" href="#mysql-json-object-field-json-pg-catalog-text-9528a9e8">`mysql.json_object_field(from_json json, field_name text) → json`</a> | 实现 -&gt; 运算（按名称提取 JSON 字段）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L26-L32) |

## P {#p}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-prefix-like-character-pg-catalog-text-0fc79a35" href="#mysql-prefix-like-character-pg-catalog-text-0fc79a35">`mysql.prefix_like(character, text) → boolean`</a> | 实现 ~#~ 运算（前缀索引的 LIKE 匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L28-L29) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mys_prefix.c#L1466-L1503) |
| <a id="mysql-prefix-like-pg-catalog-text-pg-catalog-text-2ae37fc3" href="#mysql-prefix-like-pg-catalog-text-pg-catalog-text-2ae37fc3">`mysql.prefix_like(text, text) → boolean`</a> | 实现 ~#~ 运算（前缀索引的 LIKE 匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L24-L25) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mys_prefix.c#L1462-L1503) |
| <a id="mysql-prefix-not-like-character-pg-catalog-text-49e8c7fd" href="#mysql-prefix-not-like-character-pg-catalog-text-49e8c7fd">`mysql.prefix_not_like(character, text) → boolean`</a> | 实现 !~#~ 运算（前缀索引的 LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L30-L31) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mys_prefix.c#L1468-L1503) |
| <a id="mysql-prefix-not-like-pg-catalog-text-pg-catalog-text-9b32fdff" href="#mysql-prefix-not-like-pg-catalog-text-pg-catalog-text-9b32fdff">`mysql.prefix_not_like(text, text) → boolean`</a> | 实现 !~#~ 运算（前缀索引的 LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/55-index.sql#L26-L27) · [C](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/src/mys_prefix.c#L1464-L1503) |

## R {#r}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-regular-expr-bigint-pg-catalog-text-234433f9" href="#mysql-regular-expr-bigint-pg-catalog-text-234433f9">`mysql.regular_expr(bigint, text) → boolean`</a> | 实现 ~* 运算（忽略大小写的正则匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L294-L300) |
| <a id="mysql-regular-expr-not-bigint-pg-catalog-text-19a41d84" href="#mysql-regular-expr-not-bigint-pg-catalog-text-19a41d84">`mysql.regular_expr_not(bigint, text) → boolean`</a> | 实现 !~* 运算（忽略大小写的正则取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L322-L328) |

## T {#t}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mysql-text-like-bigint-pg-catalog-text-bigint-8baba507" href="#mysql-text-like-bigint-pg-catalog-text-bigint-8baba507">`mysql.text_like_bigint(text, bigint) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L232-L240) |
| <a id="mysql-text-like-hexlit-pg-catalog-text-mysql-hexlit-4581973f" href="#mysql-text-like-hexlit-pg-catalog-text-mysql-hexlit-4581973f">`mysql.text_like_hexlit(text, mysql.hexlit) → boolean`</a> | 实现 ~~ 运算（LIKE 模式匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L165-L166) |
| <a id="mysql-text-nlike-hexlit-pg-catalog-text-mysql-hexlit-c8b402ed" href="#mysql-text-nlike-hexlit-pg-catalog-text-mysql-hexlit-c8b402ed">`mysql.text_nlike_hexlit(text, mysql.hexlit) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [生成定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L165-L166) |
| <a id="mysql-text-not-like-bigint-pg-catalog-text-bigint-267313cf" href="#mysql-text-not-like-bigint-pg-catalog-text-bigint-267313cf">`mysql.text_not_like_bigint(text, bigint) → boolean`</a> | 实现 !~~ 运算（LIKE 取反匹配）。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/33-op-like.sql#L264-L272) |

---

反链：

- [函数](/zh/docs/mysql/reference/objects/functions/)
