Js Use Variable In Regex Python Example