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

Value inequality with a string.

Parameters
ParameterDescription
leftMatch result.
rightString to compare with.
Returns

True when the matched text differs from the given string.

Example
import klyn.regex

assert MatchResult("abc") != "xyz"