equal

fun equal(pspec2: PatternSpec): Boolean

Compares two compiled pattern specs and returns whether they will match the same set of strings.

Return

Whether the compiled patterns are equal

Parameters

pspec2

another #GPatternSpec