[cl-ppcre-devel] Question about a strange behavior of cl-ppcre

張 漢秀 chang at saitama-med.ac.jp
Fri Aug 15 07:50:43 UTC 2008


Hello,

I post this question because the description of this mailing list says
that this is the place to post a question about cl-ppcre.

I am a user of cl-ppcre on sbcl. I just re-installed cl-ppcre on sbcl,
so I guess the version of cl-ppcre is the newest one.

I found a strange behavior as below.

CL-USER> (format t "~A" (cl-ppcre:regex-replace "a" "a" "\\"))
\
CL-USER> (format t "~A" (cl-ppcre:regex-replace "a" "a" "\\\\"))
\
CL-USER> (format t "~A" (cl-ppcre:regex-replace "a" "a" "\\\\\\\\"))
\\

For me, it is very difficult to figure out what's going on. Would
someone kindly help me understand this problem?

Han-Soo




More information about the Cl-ppcre-devel mailing list