]> git.eshelyaron.com Git - emacs.git/commit
(struct regexp_cache): New field `posix'.
authorRichard M. Stallman <rms@gnu.org>
Sat, 19 Nov 1994 10:00:14 +0000 (10:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 19 Nov 1994 10:00:14 +0000 (10:00 +0000)
commitb819a39025f5224ec3b554776ec20fb1b50f3043
treed272ad17a365caff3b50dd26b0437f884ef131ce
parent547d70f5209877c3ef0a4aebc2949e76f7796f9f
(struct regexp_cache): New field `posix'.
(compile_pattern_1): New arg `posix'.  Controls the syntax spec
for parsing; also record it in the cache.
(compile_pattern): New arg `posix'.
(looking_at_1, string_match_1, fast_string_match): Pass 0 for new arg.
(search_buffer): New arg `posix'.  Now static.
(search_command): New arg `posix'.  All callers changed.
(Fposix_search_forward, Fposix_search_backward): New functions.
(string_match_1, looking_at_1): New subroutines broken out.
(Fstring_match, Flooking_at): Use them.
(Fposix_string_match, Fposix_looking_at): New functions.
(syms_of_search): defsubr new functions.
src/search.c