1. 02 Jun, 1997 2 commits
  2. 31 May, 1997 2 commits
  3. 15 Apr, 1997 1 commit
    • Richard M. Stallman's avatar
      (looking_at_1): Set re_match_object. · 8bb43c28
      Richard M. Stallman authored
      (string_match_1): Set re_match_object.
      (fast_string_match): Set re_match_object.
      (Fskip_chars_forward): Move to syntax.c.
      (Fskip_chars_backward): Move to syntax.c.
      (Fskip_syntax_forward): Move to syntax.c.
      (Fskip_syntax_backward): Move to syntax.c.
      (skip_chars): Move to syntax.c.
      (search_buffer): Set re_match_object.
      (syms_of_search): Move initialization of skip* to syntax.c.
      8bb43c28
  4. 02 Apr, 1997 1 commit
  5. 22 Mar, 1997 1 commit
  6. 27 Feb, 1997 1 commit
  7. 23 Feb, 1997 1 commit
  8. 20 Feb, 1997 1 commit
    • Karl Heuer's avatar
      Include category.h and charset.h. · 5679531d
      Karl Heuer authored
      (compile_pattern_1): Handle new argument `multibyte'.
      (compile_pattern): Handle the flag `enable-multibyte-characters'.
      (Vascii_downcase_table): Declare external.
      (fast_string_match_ignore_case): New function.
      (skip_chars): Handle multibyte characters.
      (trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC"
      for category.
      5679531d
  9. 19 Jan, 1997 1 commit
  10. 19 Dec, 1996 1 commit
  11. 18 Dec, 1996 1 commit
  12. 22 Sep, 1996 1 commit
  13. 10 Sep, 1996 1 commit
  14. 01 Sep, 1996 1 commit
  15. 14 Jul, 1996 1 commit
  16. 15 Jan, 1996 1 commit
  17. 09 Jan, 1996 1 commit
  18. 05 Jan, 1996 1 commit
  19. 25 Oct, 1995 1 commit
  20. 18 Oct, 1995 1 commit
  21. 08 Aug, 1995 1 commit
  22. 15 Jun, 1995 1 commit
  23. 09 Jun, 1995 2 commits
  24. 06 Jun, 1995 1 commit
  25. 05 Jun, 1995 1 commit
  26. 04 May, 1995 1 commit
  27. 07 Apr, 1995 1 commit
  28. 06 Apr, 1995 1 commit
  29. 25 Dec, 1994 1 commit
  30. 11 Dec, 1994 1 commit
  31. 07 Dec, 1994 1 commit
  32. 22 Nov, 1994 1 commit
  33. 21 Nov, 1994 1 commit
  34. 19 Nov, 1994 1 commit
    • Richard M. Stallman's avatar
      (struct regexp_cache): New field `posix'. · b819a390
      Richard M. Stallman authored
      (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.
      b819a390
  35. 19 Oct, 1994 1 commit
    • Karl Heuer's avatar
      (searchbufs): New variable, replaces searchbuf and last_regexp and · 487282dc
      Karl Heuer authored
      search_fastmap.
      (syms_of_search): Initialize it.
      (searchbuf_head): New variable.
      (compile_pattern_1): Renamed from compile_pattern and made static.
      Copy the regexp string in case the caller modifies it in place later.
      (compile_pattern): New code, uses a cached entry if one is available.
      The pattern buffer is now a return value instead of an arg.
      (set_search_regs): Set num_regs directly, since there's no active
      pattern buffer to pass to re_set_registers.
      (Fstore_match_data): Likewise.
      (Flooking_at): Use the new calling convention for compile_pattern.
      (Fstring_match, fast_string_match, search_buffer): Likewise.
      487282dc
  36. 11 Oct, 1994 1 commit
  37. 08 Oct, 1994 1 commit
    • Jim Blandy's avatar
      * search.c: #include "region-cache.h". · 9169c321
      Jim Blandy authored
      (max, min): Make these functions, not macros; we'd like to pass
      them arguments that would be bad to evaluate more than once.
      (newline_cache_on_off): New function.
      (scan_buffer): New argument END.  Call newline_cache_on_off.  If
      this buffer's newline cache is enabled, consult it to see if we
      need to scan a region for newlines, and store information in the
      cache after doing so.
      (find_next_newline): Pass new arg to scan_buffer.
      (find_before_next_newline): New function.
      9169c321