I'm trying to learn Common Lisp and want to use regular expressions for parsing a text file. Which library is the easiest to use for a beginner like me? Am I right in assuming it depends on which implementation of Common Lisp I'm using? I see some promising Google results, but I thought it wouldn't hurt to see if I can get some good advice from the Lispers out there. Thanks!
相关问题
- Improve converting string to readable urls
- Drakma and Dexador both fails at USocket call whil
- Regex to match charset
- Regex subsequence matching
- Accommodate two types of quotes in a regex
相关文章
- Optimization techniques for backtracking regex imp
- Regex to check for new line
- Allow only 2 decimal points entry to a textbox usi
- Comparing speed of non-matching regexp
- Regular expression to get URL in string swift with
- 请问如何删除之前和之后的非字母中文单字
- Lazy (ungreedy) matching multiple groups using reg
- when [:punct:] is too much [duplicate]
For the beginner just use CL-PPCRE. It is fast, robust and stable, and works fine on any implementation.
There's also a small trick to make working with it more pleasant - adding a nickname of
RE
besidesPPCRE
.So you'll be able to use it this way:
(re:scan ...