Settings.Approvals.RegexMatcher (fnord v0.8.83)

View Source

Provides functions to compile and match regular expression patterns for approvals.

Summary

Functions

Tests whether a single pattern string matches the given subject.

Functions

matches?(pattern, subject)

@spec matches?(String.t(), String.t()) :: boolean()

Tests whether a single pattern string matches the given subject.

Returns false if either argument is not a binary.