Revert "fix regex anchoring"

This reverts commit a85e6aacf36efb2c1c3fbfb86807cae3f539aef4.