Created
March 22, 2022 10:34
-
-
Save noughtmare/d516ba3f6679fc50ce477ee6c43c4fda to your computer and use it in GitHub Desktop.
A regular expression for finding occurrences of type applications in Haskell code.
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
^[^-]*(-[^-]+)*(-|[^A-Za-z])either @[(A-Za-z][^@ )]*[ )] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment