If I understand the stack thorough enough, the regex filter relies on an index. I would think that the index is not updated until the transaction is committed. I haven’t messed with the Javascript client much at all so I don’t have specific proof if my hypothesis and understanding is correct.