Add support for patterns with +