The filter pattern can now use regex flags