There is a little trick to make it more enjoyable-in addition to PPCRE, the nickname of RE is added.
(rename-package "CL-PPCRE" "CL-PPCRE"'("PPCRE" "RE"))
So you will be able to use it this way: (re:scan … p>
I am trying to learn Common Lisp and want to use regular expressions to parse text files. Which library is the easiest to use for a beginner like me? Am I correct in assuming It depends on the implementation of Common Lisp I use? I have seen some promising Google results, but I don’t think it will hurt to see if I can get some good advice from Lispers. Thanks!
For beginners, you only need to use CL-PPCRE. It is fast, powerful and stable, and it works well in any implementation.
There is a little trick to make it more enjoyable-in addition to PPCRE, the nickname of RE is added.
(rename-package "CL-PPCRE" "CL-PPCRE" '("PPCRE" "RE"))
So you will be able to use it this way: (re:scan …