Added Regex support and changed filters save format to JSON.