Bug #68153 | REGEXP does not seem to match the NUL character | ||
---|---|---|---|
Submitted: | 23 Jan 2013 11:40 | Modified: | 6 Jul 2017 14:30 |
Reporter: | Georg Bauhaus | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.5.29, 5.0.97, 5.1.69, 5.5.31, 5.7.1 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[23 Jan 2013 11:40]
Georg Bauhaus
[23 Jan 2013 16:35]
Sveta Smirnova
Thank you for the report. Verified as described.
[2 Jun 2017 16:35]
Oleg Smirnov
Yes, it seems like a string termination issue in RE engine. This issue caused https://bugs.mysql.com/bug.php?id=85588, so I guess suggested patch for that case should fix this bug too.
[6 Jul 2017 14:30]
Martin Hansson
Posted by developer: Thank you for the bug report. We are switching the regular expression library in the next version, and the new library doesn't support collation classes at all. You will be able to use '\0' to match NUL, however.