Current master crashes with below. $ printf '0\n0' >pat $ printf '0\n' >in $ env LC_ALL=C grep -F pat in grep -F uses memchr2() for each character in this pattern, but if two characters is same, the trie has no child.