(define r1 (regcomp "12.*34")) (define res1 (regexec r1 "abcde")) res1 -->1 (define res2 (regexec r1 "12abcde34")) res2 -->(0 . 9) (define res3 (regexec r1 "ab12xyz3456")) res3 -->(2 . 9) (regfree r1) -->#t (define res4 (regexec r1 "ab12xyz3456")) -->regx-exec: wrong type of argument 1!
Georg P. Loczewski 2003-07-18 |