string pattern matching
Closed this issue · 2 comments
slifin commented
I thought I could use this:
(m/assert "abc" "abcd")
In the sense that I thought strings were collections of characters, but that doesn't work, is there a way to do string pattern matching with data using matcho?
niquola commented
You can use regexps
(m/assert #"^abc.*" "abcd")
slifin commented
Of course! 😅 Thank you