View Source Alarmist.Matcher (alarmist v0.1.2)

Match logic using atom-based keys used in PropertyTable. Basically it's PropertyTable.Matcher.StringPath but using atoms instead of strings.

Summary

Functions

Check whether a pattern is valid

Check whether a property is valid

Returns true if the pattern matches the specified property

Functions

Check whether a pattern is valid

Returns :ok on success or {:error, error} where error is an Exception struct with information about the issue.

Check whether a property is valid

Returns :ok on success or {:error, error} where error is an Exception struct with information about the issue.

Returns true if the pattern matches the specified property