| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
stored as a variable
We don't fix the bug itself, we just make regex functions display errors
returned from pcre_exec() as MariaDB warnings.
|
| | |
|
| |
|
|
|
|
| |
Added a new system variable:
default_regex_flags='DOTALL,DUPNAMES,EXTENDED,EXTRA,MULTILINE,UNGREEDY'
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Do not pass PCRE_UCP flag for binary data.
This makes bytes 0x80..FF not to belong to
generic character classes \d (digit) and \w (word character).
SELECT 0xFF RLIKE '\\w';
-> 0
Note, this change does not affect non-binary data,
which is still examined with the PCRE_UCP flag by default.
|
| |
|
|
|
|
|
| |
Adding tests with 0x00 characters from
Bug#70470 REGEXP fails to find matches after NUL character
|
| |
|
|
|
|
| |
Adding more tests for case sensitivity,
with various collation and (?i) flags combinations.
|
| |
|