Details
-
New Feature
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Hello,
In MySQL, it's possible to do the following query:
SELECT REGEXP_REPLACE("abc", "a(b)", "$1"); |
which will give the result of
bc
In MariaDB, this similarly can be done with two backslashes:
SELECT REGEXP_REPLACE("abc", "a(b)", "\\1"); |
However, would it be possible to allow REGEXP_REPLACE to also use the $ syntax so that there's syntax compatibility between the two database engines?
Thanks.
Attachments
Issue Links
- is part of
-
MDEV-28906 MySQL 8.0 desired compatibility
-
- Open
-