klyn.regex.MatchResult.hash
method
public override hash() as Long
Description

Hashes the matched text, consistently with value equality and String. Do not modify value while this result is stored in a hash collection.

Returns

The matched String's hash, or zero for a null value.

Example

assert MatchResult("abc").hash() == "abc".hash()