Fix for patterns with a leading