Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcc13.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcc3!sdcc13!ee163ahe From: ee163ahe@sdcc13.UUCP (VICTOR ROMANO) Newsgroups: net.wanted.sources Subject: Magic string pattern matching (as in vi) Message-ID: <152@sdcc13.UUCP> Date: Wed, 13-Feb-85 13:03:01 EST Article-I.D.: sdcc13.152 Posted: Wed Feb 13 13:03:01 1985 Date-Received: Fri, 15-Feb-85 04:20:10 EST Organization: U.C. San Diego, Academic Computer Center Lines: 17 Does anybody have a procedure/function that compares two strings, one which has "magic" wildcards (as in "vi" and "grep")? For example, I need to be able to search for a string that matches some pattern like: "beginning .* end" which would match if it found the string: "beginning with some text in the middle end". Having both a "search" and a "compare" function would be most useful, but I could always make one from the other. Thanks, Victor Romano.