klyn.regex.MatchResult.operator==
method
public static operator==(left as String, right as MatchResult) as Boolean:
Description

Value equality with a string.

Parameters
ParameterDescription
leftString to compare with.
rightMatch result.
Returns

True when the matched text equals the given string.

Example
import klyn.regex

assert "abc" == MatchResult("abc")