[MDEV-18523] REGEXP not properly handling \s* Created: 2019-02-08 Updated: 2019-02-09 Resolved: 2019-02-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.3.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Bob Smith | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The string
is stored in a column named "test". The statement
does not match the string, and no result set is returned. However, removing the FIRST blank space
DOES allow the match to occur. Checking against other PCRE-compliant engines (eg. Regex101.com) show that BOTH strings should match, yet for some reason, the MariaDB regex engine is getting tripped up on first space. If I'm missing something regarding notation, please do let me know. Thanks |
| Comments |
| Comment by Elena Stepanova [ 2019-02-09 ] | ||||||||||||||||||||
|
https://mariadb.com/kb/en/library/pcre/#special-characters
|