Fixed options flag with whereRegex