Check if the object can be compiled into a regex pattern instance.
Whether obj can be compiled as a regex pattern.
Examples
>>> is_re_compilable(".*") True >>> is_re_compilable(1) False
previous
pandas.api.types.is_re
next
pandas.api.types.is_scalar