public static operator!=(left as MatchResult, right as String) as Boolean:
Value inequality with a string.
| Parameter | Description |
|---|---|
left | Match result. |
right | String to compare with. |
True when the matched text differs from the given string.
import klyn.regex
assert MatchResult("abc") != "xyz"