klyn.regex.MatchResult.operator==
method

    public static operator==(left as MatchResult, right as MatchResult) as Boolean:

Description

Value equality with another match result.

Parameters

Parameter | Description
--- | ---
`left` | First result.
`right` | Second result.

Returns

True when both results store the same matched text.

Example

    import klyn.regex

    assert MatchResult("42") == MatchResult("42")