Support for regex queries in presets