regex can now handle defaults on match queries