Fix regexp anchoring