diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-08-29 20:38:11 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-08-29 20:38:11 +0000 |
commit | 96cc36cc58afebd9bfe6ea40129da800c8b487e5 (patch) | |
tree | 19cfc395cbff439d05f6604f1d2f9277e6804a9a /lisp/emacs-lisp/cl-seq.el | |
parent | 6e66e4c6fc350fe8cb85d4cc35d9ca567df56548 (diff) | |
download | emacs-96cc36cc58afebd9bfe6ea40129da800c8b487e5.tar.gz emacs-96cc36cc58afebd9bfe6ea40129da800c8b487e5.tar.bz2 emacs-96cc36cc58afebd9bfe6ea40129da800c8b487e5.zip |
[emacs]: Handle character classes for multibyte chars:
(ISBLANK, ISGRAPH, ISPRINT, ISALNUM, ISALPHA, ISLOWER)
(ISPUNCT, ISSPACE, ISUPPER): New definitions for emacs only.
(ISWORD): New macro.
(re_opcode_t): Add 2 bytes of flag bits to charset and charset_not.
(CHARSET_RANGE_TABLE): Update definition.
(CHARSET_RANGE_TABLE_BITS): New macro.
(print_partial_compiled_pattern): Skip charset's range table.
(struct range_table_work_area): New field `bits'.
(SET_RANGE_TABLE_WORK_AREA_BIT): New macro.
(BIT_ALNUM, BIT_ALPHA, BIT_WORD, BIT_GRAPH, BIT_LOWER, BIT_PRINT)
(BIT_PUNCT, BIT_SPACE, BIT_UPPER): New macros.
(CLEAR_RANGE_TABLE_WORK_USED): Clear field `bits'.
(RANGE_TABLE_WORK_BITS): New macro.
(IS_CHAR_CLASS): Check for "word".
(regex_compile): Set the `bits' field for some character classes.
Handle the `word' class. Store the `bits' field into the range table.
(re_compile_fastmap): Handle flag bits in range table.
(re_match_2_internal): For charset and charset_not,
handle flag bits in the range table.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions