From: Mirko V. <mir...@gm...> - 2009-07-12 16:59:44
|
On Sun, Jul 12, 2009 at 10:09 AM, Sam Steingold<sd...@gn...> wrote: > Hi, > >> * Mirko Vukovic <zvexb.ihxbivp@tznvy.pbz> [2009-07-12 08:10:09 -0400]: >> >> Another test: >> >> (regexp:match "quick" "a b c") >> >> does not return anything (even nil). I just get the prompt back > > as explained in the manual > http://clisp.cons.org/impnotes/regexp-mod.html#re-match > regexp:match returns matches as multiple values. > no matches ==> no values. > > -- > Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty) > http://camera.org http://dhimmi.com http://truepeace.org > http://mideasttruth.com http://pmw.org.il http://ffii.org > Heck is a place for people who don't believe in gosh. > But how to understand this text (from your link): This macro returns as first value a REGEXP:MATCH structure containing the indices of the start and end of the first match for the regular expression pattern in string; *or NIL if there is no match* Mirko |