| Bug #100698 | Awfully vague statement regarding doubling slashes in REGEXP arguments | ||
|---|---|---|---|
| Submitted: | 31 Aug 2020 15:03 | Modified: | 11 Feb 2021 15:02 |
| Reporter: | teo teo | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
| Version: | 8.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[31 Aug 2020 15:03]
teo teo
[31 Aug 2020 21:22]
MySQL Verification Team
Thank you for the bug report.
[11 Feb 2021 14:38]
Paul DuBois
Posted by developer: The statement refers to inclusion of a literal \ character. MySQL uses C escape syntax in strings (for example, \n to represent the newline character). If you want your expr or pat argument to contain a literal \, you must double it.
[11 Feb 2021 15:02]
teo teo
So why are you closing the report?
