How will you convert a object to a regular expression in python?
repr(x) − Converts object x to an expression string.