parameters: (obj)
return_statement: return isinstance(obj, string_types + (_RE_TYPE,))
docstring: Return True if obj can be turned into a regular expression.
docstring_summary: Return True if obj can be turned into a regular expression.
docstring_tokens: Return True if obj can be turned into a regular expression .
function: def can_be_regex(obj):
    """Return True if obj can be turned into a regular expression."""
    return isinstance(obj, string_types + (_RE_TYPE,))
function_tokens: def can_be_regex ( obj ) : return isinstance ( obj , string_types + ( _RE_TYPE , ) )