Pattern.equal

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

class Pattern
int
equal

Parameters

pspec2 Pattern

another GPatternSpec

Return Value

Type: int

Whether the compiled patterns are equal

Meta