Open
Description
I'm not sure if this is a bug or just the way it works.
If I have a query which contains special characters such as an ä
in a value the following rewrite rule will a hit but not perform a rewrite. In most regex cases ä
would be covered by the .
.
INSERT INTO
mysql_query_rules (rule_id,active,match_pattern,replace_pattern,cache_ttl,apply)
VALUES
(10,1,'^insert delayed(.*)$', 'insert\1',NULL,1);
I changed the query to the following so it would work by avoiding the (.*)
INSERT INTO
mysql_query_rules (rule_id,active,match_pattern,replace_pattern,cache_ttl,apply)
VALUES
(10,1,'^insert delayed ','insert ',NULL,1);
Thanks.
Metadata
Metadata
Assignees
Labels
No labels