HealthSamurai/matcho

string pattern matching

Closed this issue · 2 comments

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?

You can use regexps

(m/assert  #"^abc.*" "abcd")

Of course! 😅 Thank you