Fix regexp if script is at the end, please run update-crandb.r