# tf.contrib.graph_editor.can_be_regex

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/select.py#L57-L59) |

Return True if obj can be turned into a regular expression.

    tf.contrib.graph_editor.can_be_regex(
        obj
    )