Pattern.equal

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

class Pattern
bool
equal

Parameters

pspec2 Pattern

another #GPatternSpec

Return Value

Type: bool

Whether the compiled patterns are equal

Meta