unused variable regex