[cl-ppcre-devel] searching backward?

Shawn Betts sabetts at vcn.bc.ca
Fri Feb 16 04:27:45 UTC 2007


Hi folks,

Is there a way to search backward through a string? 

* (ppcre:scan "abc" "111abc1111abc11")

3
6
#()
#()
* (ppcre:scan "abc" "111abc1111abc11" :start 15 :end 0)

NIL

I tried just making end < start which doesn't seem to work :). I
suppose what i'm looking for is the equivalent of :from-end that most
cl sequence functions have.

-Shawn



More information about the Cl-ppcre-devel mailing list