|
0944b4a5
|
2000-06-19T21:59:46
|
|
Test PROTOTYPES as well as __STDC__.
|
|
ecd70598
|
2000-04-02T23:56:45
|
|
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
we are between str1 and str2.
(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
(PATFETCH): Use `TRANSLATE'.
(PATFETCH_RAW): Fetch multibyte char if applicable.
(PATUNFETCH): Remove.
(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
When writing a char, write it directly into the pattern buffer rather
than going needlessly through a temp char-array.
(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
multibyte magic and remove the useless `#ifdef emacs'.
(bcmp_translate): Don't compare as multibyte chars when in a unibyte
buffer.
* regex.h (struct re_pattern_buffer): Make field `multibyte'
conditional on `emacs'.
* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
|
|
24f91832
|
2000-03-19T23:21:42
|
|
(RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c.
|
|
0d2c408c
|
2000-03-08T23:24:54
|
|
Update the copyright.
(RE_SHY_GROUPS): New value.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber.
(RE_SYNTAX_EMACS): Add RE_SHY_GROUPS.
|
|
cc66751b
|
2000-02-14T17:00:16
|
|
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax. Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.
|
|
5f3fd8f1
|
2000-01-27T11:40:40
|
|
Lost version containing non-greedy changes from Emacs.
|
|
7596a6b5
|
1998-04-15T10:32:29
|
|
(RE_TRANSLATE_P): New macro.
|
|
d5e67c44
|
1997-07-04T20:46:51
|
|
(RE_TRANSLATE): Define default assuming simple integers.
|
|
610a09ff
|
1997-06-15T19:02:27
|
|
(struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
|
|
df2594c7
|
1996-01-29T22:25:51
|
|
Update FSF address in comment.
|
|
c264f861
|
1995-10-19T00:50:14
|
|
(RE_TRANSLATE_TYPE): Define, if not already defined.
(struct re_pattern_buffer): Use RE_TRANSLATE_TYPE.
|
|
2dd0bd2a
|
1995-05-17T20:47:26
|
|
[VMS]: Don't #include <stddef.h> if _POSIX_SOURCE or _POSIX_C_SOURCE is
defined.
|
|
e3bcf16a
|
1994-11-16T20:28:48
|
|
(RE_NO_POSIX_BACKTRACKING): New macro.
|
|
f683a15f
|
1994-10-26T22:43:45
|
|
(re_comp, re_exec): Define this obsolete 4.2bsd
interface only if the new feature test macro _REGEX_RE_COMP is defined.
This avoids a clash with Cray YMP include files.
|
|
93113fa3
|
1994-10-18T03:47:42
|
|
(RE_EXACTN_VALUE): Deleted; Emacs doesn't need this kludge anymore.
|
|
61c3a3d7
|
1993-05-28T00:10:45
|
|
entered into RCS
|
|
ba806906
|
1993-04-02T23:12:15
|
|
*** empty log message ***
|
|
5ea636e7
|
1993-01-14T20:38:21
|
|
*** empty log message ***
|
|
e7562765
|
1992-12-24T06:48:09
|
|
*** empty log message ***
|
|
c55dc5b1
|
1992-12-15T02:35:40
|
|
*** empty log message ***
|
|
cb106d54
|
1992-11-21T01:51:22
|
|
*** empty log message ***
|
|
a6abfa23
|
1992-11-15T10:01:16
|
|
*** empty log message ***
|
|
5c6e8d84
|
1992-11-04T20:39:56
|
|
*** empty log message ***
|
|
d146c864
|
1992-09-16T12:19:41
|
|
Initial revision
|