[MXS-580] Adding extended regular expressions support for QLA Filter Created: 2016-02-12 Updated: 2017-12-01 Resolved: 2016-02-25 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | qlafilter |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Diego Alonso | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Adding extended regular expressions support to the QLA Filter would allow more useful operators like "|" that will match either of its arguments, for example "update|delete" will match either "update" or "delete" query statements. The changes to implement this seem pretty straight forward:
|
| Comments |
| Comment by markus makela [ 2016-02-25 ] |
|
The qlafilter, topfilter and namedserverfilter now accept extended as a parameter which enables the ERE mode. |
| Comment by markus makela [ 2016-02-25 ] |
|
In the future PCRE2 should be used instead since it is already bundled with MaxScale. |
| Comment by Diego Alonso [ 2016-02-25 ] |
|
Great stuff, thanks! Agreed with PCRE2 for future changes. |