.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_RegExMatch: RegExMatch ========== **Inherits:** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_end` **(** :ref:`Variant` name=0 **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_group_count` **(** **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_names` **(** **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_start` **(** :ref:`Variant` name=0 **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_string` **(** :ref:`Variant` name=0 **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_strings` **(** **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_subject` **(** **)** const | +--------------------------------------+---------------------------------------------------------------------------------------------------------+ Member Function Description --------------------------- .. _class_RegExMatch_get_end: - :ref:`int` **get_end** **(** :ref:`Variant` name=0 **)** const Returns the end position of the match in the string. An integer can be specified for numeric groups or a string for named groups. Returns -1 if that group wasn't found or doesn't exist. Defaults to 0 (whole pattern). .. _class_RegExMatch_get_group_count: - :ref:`int` **get_group_count** **(** **)** const Returns the number of numeric capturing groups. .. _class_RegExMatch_get_names: - :ref:`Dictionary` **get_names** **(** **)** const Returns an array of names of named capturing groups. .. _class_RegExMatch_get_start: - :ref:`int` **get_start** **(** :ref:`Variant` name=0 **)** const Returns the starting position of the match in the string. An integer can be specified for numeric groups or a string for named groups. Returns -1 if that group wasn't found or doesn't exist. Defaults to 0 (whole pattern). .. _class_RegExMatch_get_string: - :ref:`String` **get_string** **(** :ref:`Variant` name=0 **)** const Returns the result of the match in the string. An integer can be specified for numeric groups or a string for named groups. Returns -1 if that group wasn't found or doesn't exist. Defaults to 0 (whole pattern). .. _class_RegExMatch_get_strings: - :ref:`Array` **get_strings** **(** **)** const .. _class_RegExMatch_get_subject: - :ref:`String` **get_subject** **(** **)** const