summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-08-31 17:19:15 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-08-31 17:19:15 +0000
commitc0f9ea083ec038ab5aa3049cd12268f4c0597578 (patch)
treee5e8312ae28a82f673f1d647a8d375186e719bbd /lib-src
parentd04efc645a1888c81bb6b0237cfc341ab24f4390 (diff)
downloademacs-c0f9ea083ec038ab5aa3049cd12268f4c0597578.tar.gz
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
(struct re_pattern_buffer): Remove newline_anchor. * regex.c: Keep namespace clean for GNU libc by renaming <fun> to __<fun> and using `weak_alias (__<fun>, <fun>)'. (re_max_failures, fail_stack): Use size_t rather than unsigned. (regex_compile): For ^ and $, choose between buffer and line (beg|end) depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. (print_compiled_pattern, re_search_2, mutually_exclusive_p) (re_match_2_internal, re_compile_pattern, re_comp, regcomp): Get rid of references to newline_anchor. (regcomp): Allocate and precompute a fastmap.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions