-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
khepri_condition: Rename
re_mp()
and fix its use
`re_mp()` was clear what it was only for me apparently :) While renaming the type to something more human-friendly nad making it more precise, I discovered that the specs were buggy (because of the lack of precision before). In the end, instead of having a type for the compiled regex, the type now represents the return value of `re:compile/1`.
- Loading branch information
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters