v.22.7Bug Fix

Fix countSubstrings() and position() for 0-byte patterns

Fix wrong results of countSubstrings() & position() on patterns with 0-bytes. #38589 (Robert Schulze).