Function summary | |
---|---|
create-bmh-matcher | pattern case-insensitive-p |
create-char-searcher | chr case-insensitive-p |
create-scanner-aux | match-fn min-len start-anchored-p starts-with start-string-test end-anchored-p end-string-test end-string-len end-string-offset rep-num zero-length-num reg-num |
newline-skipper | start-pos |
Macro summary | |
---|---|
bmh-matcher-aux | &key case-insensitive-p |
char-searcher-aux | &key case-insensitive-p |
insert-advance-fn | advance-fn |
Returns a Boyer-Moore-Horspool matcher which searches the (special) simple-string *STRING* for the first occurence of the substring PATTERN. The search starts at the position START-POS within *STRING* and stops before *END-POS* is reached. Depending on the second argument the search is case-insensitive or not. If the special variable *USE-BMH-MATCHERS* is NIL, use the standard SEARCH function instead. (BMH matchers are faster but need much more space.)
Returns a function which searches the (special) simple-string *STRING* for the first occurence of the character CHR. The search starts at the position START-POS within *STRING* and stops before *END-POS* is reached. Depending on the second argument the search is case-insensitive or not.
Find the next occurence of a character in *STRING* which is behind a #Newline.