Skip to content

robot.utils

Various generic utility functions and classes.

Utilities are mainly for internal usage, but external libraries and tools may find some of them useful. Utilities are generally stable, but absolute backwards compatibility between major versions is not guaranteed.

All utilities are exposed via the :mod:robot.utils package, and should be used either like::

1
2
3
from robot import utils

assert utils.Matcher('H?llo').match('Hillo')

or::

1
2
3
from robot.utils import Matcher

assert Matcher('H?llo').match('Hillo')