vindarel / cl-str

Modern, simple and consistent Common Lisp string manipulation library.
https://vindarel.github.io/cl-str/
MIT License
305 stars 37 forks source link

Add the `string-match` macro as sort of string "pattern matching" #114

Closed ccqpein closed 7 months ago

ccqpein commented 7 months ago

The PR of Ides #113

minor:

vindarel commented 7 months ago

Looks good. You can call the macro match, it shouldn't conflict with Trivia.

I think we should advertise this new macro to be experimental, subject to change, and try it more. But we can merge it so more people can give feedback easily. WDYT?

ccqpein commented 7 months ago

I changed name from string-match to match, I am fine with either one tho.

I think we should advertise this new macro to be experimental, subject to change, and try it more. But we can merge it so more people can give feedback easily. WDYT?

I agree with you. :)

vindarel commented 7 months ago

Nice addition, thanks!