⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 正则表达式库
💻
📖 第 1 页 / 共 5 页
字号:
Fri Apr  2 17:31:59 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)	* Released version 0.12.	* regex.c (regerror): If errcode is zero, that's not a valid	error code, according to POSIX, but return "Success."	* regex.c (regerror): Remember to actually fetch the message	from re_error_msg.	* regex.c (regex_compile): Don't use the trick for ".*\n" on	".+\n".  Since the latter involves laying an extra choice	point, the backward jump isn't adjusted properly.Thu Mar 25 21:35:18 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)	* regex.c (regex_compile): In the handle_open and handle_close	sections, clear pending_exact to zero.Tue Mar  9 12:03:07 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)	* regex.c (re_search_2): In the loop which searches forward	using fastmap, don't forget to cast the character from the	string to an unsigned before using it as an index into the	translate map.Thu Jan 14 15:41:46 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)	* regex.h: Never define const; let the callers do it.	configure.in: Don't define USING_AUTOCONF.Wed Jan  6 20:49:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)	* regex.c (regerror): Abort if ERRCODE is out of range.Sun Dec 20 16:19:10 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)	* configure.in: Arrange to #define USING_AUTOCONF.	* regex.h: If USING_AUTOCONF is #defined, don't mess with	`const' at all; autoconf has taken care of it.Mon Dec 14 21:40:39 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)	* regex.h (RE_SYNTAX_AWK): Fix typo.  From Arnold Robbins.Sun Dec 13 20:35:39 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)        * regex.c (compile_range): Fetch the range start and end by        casting the pattern pointer to an `unsigned char *' before        fetching through it.Sat Dec 12 09:41:01 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)	* regex.c: Undo change of 12/7/92; it's better for Emacs to	#define HAVE_CONFIG_H.Fri Dec 11 22:00:34 1992  Jim Meyering (meyering@hal.gnu.ai.mit.edu)	* regex.c: Define and use isascii-protected ctype.h macros.Fri Dec 11 05:10:38 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)	* regex.c (re_match_2): Undo Karl's November 10th change; it	keeps the group in :\(.*\) from matching :/ properly.Mon Dec  7 19:44:56 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)	* regex.c: #include config.h if either HAVE_CONFIG_H or emacs	is #defined.Tue Dec  1 13:33:17 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)	* regex.c [HAVE_CONFIG_H]: Include config.h.Wed Nov 25 23:46:02 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)	* regex.c (regcomp): Add parens around bitwise & for clarity.	Initialize preg->allocated to prevent segv.Tue Nov 24 09:22:29 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)	* regex.c: Use HAVE_STRING_H, not USG.	* configure.in: Check for string.h, not USG.Fri Nov 20 06:33:24 1992  Karl Berry  (karl@cs.umb.edu)        * regex.c (SIGN_EXTEND_CHAR) [VMS]: Back out of this change,        since Roland Roberts now says it was a localism.Mon Nov 16 07:01:36 1992  Karl Berry  (karl@cs.umb.edu)        * regex.h (const) [!HAVE_CONST]: Test another cpp symbol (from          Autoconf) before zapping const.Sun Nov 15 05:36:42 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)	* regex.c, regex.h: Changes for VMS from Roland B Roberts	<roberts@nsrl31.nsrl.rochester.edu>.Thu Nov 12 11:31:15 1992  Karl Berry  (karl@cs.umb.edu)        * Makefile.in (distfiles): Include INSTALL.Tue Nov 10 09:29:23 1992  Karl Berry  (karl@cs.umb.edu)        * regex.c (re_match_2): At maybe_pop_jump, if at end of string          and pattern, just quit the matching loop.        * regex.c (LETTER_P): Rename to `WORDCHAR_P'.        * regex.c (AT_STRINGS_{BEG,END}): Take `d' as an arg; change          callers.        * regex.c (re_match_2) [!emacs]: In wordchar and notwordchar          cases, advance d.Wed Nov  4 15:43:58 1992  Karl Berry  (karl@hal.gnu.ai.mit.edu)        * regex.h (const) [!__STDC__]: Don't define if it's already defined.Sat Oct 17 19:28:19 1992  Karl Berry  (karl@cs.umb.edu)        * regex.c (bcmp, bcopy, bzero): Only #define if they are not          already #defined.        * configure.in: Use AC_CONST.Thu Oct 15 08:39:06 1992  Karl Berry  (karl@cs.umb.edu)        * regex.h (const) [!const]: Conditionalize.Fri Oct  2 13:31:42 1992  Karl Berry  (karl@cs.umb.edu)        * regex.h (RE_SYNTAX_ED): New definition.Sun Sep 20 12:53:39 1992  Karl Berry  (karl@cs.umb.edu)        * regex.[ch]: remove traces of `longest_p' -- dumb idea to put          this into the pattern buffer, as it means parallelism loses.        * Makefile.in (config.status): use sh to run configure --no-create.        * Makefile.in (realclean): OK, don't remove configure.Sat Sep 19 09:05:08 1992  Karl Berry  (karl@hayley)        * regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT) [DEBUG]: keep          track of how many failure points we push and pop.        (re_match_2) [DEBUG]: declare variables for that, and print results.        (DEBUG_PRINT4): new macro.        * regex.h (re_pattern_buffer): new field `longest_p' (to          eliminate backtracking if the user doesn't need it).        * regex.c (re_compile_pattern): initialize it (to 1).        (re_search_2): set it to zero if register information is not needed.        (re_match_2): if it's set, don't backtrack.        * regex.c (re_search_2): update fastmap only after checking that          the pattern is anchored.        * regex.c (re_match_2): do more debugging at maybe_pop_jump.        * regex.c (re_search_2): cast result of TRANSLATE for use in          array subscript.Thu Sep 17 19:47:16 1992  Karl Berry  (karl@geech.gnu.ai.mit.edu)        * Version 0.11.Wed Sep 16 08:17:10 1992  Karl Berry  (karl@hayley)        * regex.c (INIT_FAIL_STACK): rewrite as statements instead of a          complicated comma expr, to avoid compiler warnings (and also          simplify).        (re_compile_fastmap, re_match_2): change callers.        * regex.c (POP_FAILURE_POINT): cast pop of regstart and regend          to avoid compiler warnings.        * regex.h (RE_NEWLINE_ORDINARY): remove this syntax bit, and          remove uses.        * regex.c (at_{beg,end}line_loc_p): go the last mile: remove          the RE_NEWLINE_ORDINARY case which made the ^ in \n^ be an anchor.Tue Sep 15 09:55:29 1992  Karl Berry  (karl@hayley)        * regex.c (at_begline_loc_p): new fn.        (at_endline_loc_p): simplify at_endline_op_p.        (regex_compile): in ^/$ cases, call the above.        * regex.c (POP_FAILURE_POINT): rewrite the fn as a macro again,          as lord's profiling indicates the function is 20% of the time.        (re_match_2): callers changed.        * configure.in (AC_MEMORY_H): remove, since we never use memcpy et al.Mon Sep 14 17:49:27 1992  Karl Berry  (karl@hayley)        * Makefile.in (makeargs): include MFLAGS.Sun Sep 13 07:41:45 1992  Karl Berry  (karl@hayley)        * regex.c (regex_compile): in \1..\9 case, make it always          invalid to use \<digit> if there is no preceding <digit>th subexpr.        * regex.h (RE_NO_MISSING_BK_REF): remove this syntax bit.        * regex.c (regex_compile): remove support for invalid empty groups.        * regex.h (RE_NO_EMPTY_GROUPS): remove this syntax bit.        * regex.c (FREE_VARIABLES) [!REGEX_MALLOC]: define as alloca (0),           to reclaim memory.        * regex.h (RE_SYNTAX_POSIX_SED): don't bother with this.Sat Sep 12 13:37:21 1992  Karl Berry  (karl@hayley)        * README: incorporate emacs.diff.        * regex.h (_RE_ARGS) [!__STDC__]: define as empty parens.        * configure.in: add AC_ALLOCA.        * Put test files in subdir test, documentation in subdir doc.        Adjust Makefile.in and configure.in accordingly.Thu Sep 10 10:29:11 1992  Karl Berry  (karl@hayley)        * regex.h (RE_SYNTAX_{POSIX_,}SED): new definitions.Wed Sep  9 06:27:09 1992  Karl Berry  (karl@hayley)        * Version 0.10.Tue Sep  8 07:32:30 1992  Karl Berry  (karl@hayley)        * xregex.texinfo: put the day of month into the date.        * Makefile.in (realclean): remove Texinfo-generated files.        (distclean): remove empty sorted index files.        (clean): remove dvi files, etc.        * configure.in: test for more Unix variants.        * fileregex.c: new file.        Makefile.in (fileregex): new target.        * iregex.c (main): move variable decls to smallest scope.        * regex.c (FREE_VARIABLES): free reg_{,info_}dummy.        (re_match_2): check that the allocation for those two succeeded.        * regex.c (FREE_VAR): replace FREE_NONNULL with this.        (FREE_VARIABLES): call it.        (re_match_2) [REGEX_MALLOC]: initialize all our vars to NULL.        * tregress.c (do_match): generalize simple_match.        (SIMPLE_NONMATCH): new macro.        (SIMPLE_MATCH): change from routine.        * Makefile.in (regex.texinfo): make file readonly, so we don't          edit it by mistake.        * many files (re_default_syntax): rename to `re_syntax_options';          call re_set_syntax instead of assigning to the variable where          possible.Mon Sep  7 10:12:16 1992  Karl Berry  (karl@hayley)        * syntax.skel: don't use prototypes.        * {configure,Makefile}.in: new files.        * regex.c: include <string.h> `#if USG || STDC_HEADERS'; remove          obsolete test for `POSIX', and test for BSRTING.        Include <strings.h> if we are not USG or STDC_HEADERS.        Do not include <unistd.h>.  What did we ever need that for?        * regex.h (RE_NO_EMPTY_ALTS): remove this.        (RE_SYNTAX_AWK): remove from here, too.        * regex.c (regex_compile): remove the check.        * xregex.texinfo (Alternation Operator): update.        * other.c (test_others): remove tests for this.        * regex.h (RE_DUP_MAX): undefine if already defined.        * regex.h: (RE_SYNTAX_POSIX*): redo to allow more operators, and          define new syntaxes with the minimal set.        * syntax.skel (main): used sscanf instead of scanf.        * regex.h (RE_SYNTAX_*GREP): new definitions from mike.        * regex.c (regex_compile): initialize the upper bound of          intervals at the beginning of the interval, not the end.          (From pclink@qld.tne.oz.au.)        * regex.c (handle_bar): rename to `handle_alt', for consistency.        * regex.c ({store,insert}_{op1,op2}): new routines (except the last).        ({STORE,INSERT}_JUMP{,2}): macros to replace the old routines,         which took arguments in different orders, and were generally weird.        * regex.c (PAT_PUSH*): rename to `BUF_PUSH*' -- we're not          appending info to the pattern!Sun Sep  6 11:26:49 1992  Karl Berry  (karl@hayley)        * regex.c (regex_compile): delete the variable          `following_left_brace', since we never use it.        * regex.c (print_compiled_pattern): don't print the fastmap if          it's null.        * regex.c (re_compile_fastmap): handle          `on_failure_keep_string_jump' like `on_failure_jump'.        * regex.c (re_match_2): in `charset{,_not' case, cast the bit          count to unsigned, not unsigned char, in case we have a full          32-byte bit list.        * tregress.c (simple_match): remove.        (simple_test): rename as `simple_match'.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -