Typescript Variable Inside Regexp In Python What Is Method