Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!bbn.com!sboisen From: sboisen@bbn.com (Sean Boisen) Newsgroups: comp.lang.lisp Subject: looking for regexp matching code Message-ID: <62165@bbn.BBN.COM> Date: 17 Jan 91 16:22:09 GMT Sender: news@bbn.com Distribution: comp Lines: 18 I'm looking for code that matches a regexp-type pattern against a list: an example use (assuming some special variables like ?* matches 0 or more elements, ?. matches any single element, etc.) might be: (regexp-match-p '(?* b ?. d) '(a b c d)) ==> t (regexp-match-p '(b ?* d ?*) '(a b c d)) ==> nil Anybody know of such a thing before i go hacking? The ability to handle multiple "wildcards" that potentially match multiple elements makes this a more challenging problem that it might look at first glance. -- Sean