Added start/end of string anchors into RegExp constructors.