(SKIP_SOMETHING, find_occurs_in_text):
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Sep 2005 21:11:07 +0000 (21:11 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Sep 2005 21:11:07 +0000 (21:11 +0000)
commitfe041980c81d352adc19aa2933bcce9d801fcc6a
tree89cd275691170462e70b0402cd7f6bb1c2c3a161
parent0d11284c9e87e6abece74ecdd07a603292b03671
(SKIP_SOMETHING, find_occurs_in_text):
Store match length in regoff_t,
not int.  Assume that negative return values less than -2
represent regoff_t overflow.
(matcher_error): New function.
(SKIP_SOMETHING, find_occurs_in_text): Use it to report matcher errors.
(alloc_and_compile_regex): No longer any need to worry about
int versus size_t mismatch.
src/ptx.c