Text Matchers
-------------

Matchers that perform text comparisons.

See also, :ref:`Text matcher internals<text-matcher-internals>`.


contains_string
^^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.library.text.stringcontains
.. autofunction:: contains_string


ends_with
^^^^^^^^^

.. currentmodule:: hamcrest.library.text.stringendswith
.. autofunction:: ends_with


equal_to_ignoring_case
^^^^^^^^^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.library.text.isequal_ignoring_case
.. autofunction:: equal_to_ignoring_case


equal_to_ignoring_whitespace
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.library.text.isequal_ignoring_whitespace
.. autofunction:: equal_to_ignoring_whitespace

matches_regexp
^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.library.text.stringmatches
.. autofunction:: matches_regexp

starts_with
^^^^^^^^^^^

.. currentmodule:: hamcrest.library.text.stringstartswith
.. autofunction:: starts_with

string_contains_in_order
^^^^^^^^^^^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.library.text.stringcontainsinorder
.. autofunction:: string_contains_in_order
