Fix anchors on regex