Fix always matching regex probes

Reverts a part of 708c3b0177
The reverted change made regex probes always match.