Want this course?
Macro example: regex
Course: Beginning with Clojure Macros
In this lesson, we implement an original macro that does regex matching and binds the matched groups to the variables
%8. This is similar to what happens in languages like Perl and Ruby, where the variables
$8 are bound after a match.