The argument range of `REGEXP_LIKE` is not compatible with MySQL
Open
component/expression
severity/moderate
sig/execution
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
Run SQL `SELECT REGEXP_LIKE('π', '\x{03C0}');`
### 2. What did you expect to see? (Required)
```
mysql> SELECT REGEXP_LIKE('π', '\x{03C0}');
ERROR 3692 (HY000): Incorrect description of a {min,max} interval.
```
### 3. What did you see instead (Required)
```
mysql> SELECT REGEXP_LIKE('π', '\x{03C0}');
+-------------------------------+
| REGEXP_LIKE('π', '\x{03C0}') |
+-------------------------------+
| 0 |
+-------------------------------+
1 row in set (0.00 sec)
```
### 4. What is your TiDB version? (Required)
Contributor guide
Assessment
This issue has not been assessed yet.