Typescript Variable Inside Regexp In Python What Does