Added NSRegularExpression option.