
26 Jun
2009
26 Jun
'09
3:01 p.m.
Xiangjun Wu wrote:
Very sorry, it is a typo, :(
It should be:
(cl-ppcre:scan (cl-ppcre:create-scanner "(_\\w+)*\\@\\w+") "______________________________________" :start 0)
but other examples indicate the accurate idea.
Looking at this I'm not sure what this is good for. Why would we want to match strings of the form _xxx@xxx in a full-text indexer? Perhaps it would be best to get rid of the whole messy regex (of which this is only a small part) and write a new documented one from scratch. Or use a custom state-based tokenizer.