Do not discard subpatterns with {0} quantifiers, as they may be called as subroutines.
Changed paths: