comparison src/ChangeLog @ 5653:3df910176b6a

Support predefined character classes in #'skip-chars-{forward,backward}, too src/ChangeLog addition: 2012-05-04 Aidan Kehoe <kehoea@parhasard.net> * regex.c: Move various #defines and enums to regex.h, since we need them when implementing #'skip-chars-{backward,forward}. * regex.c (re_wctype): * regex.c (re_iswctype): Be more robust about case insensitivity here. * regex.c (regex_compile): * regex.h: * regex.h (RE_ISWCTYPE_ARG_DECL): * regex.h (CHAR_CLASS_MAX_LENGTH): * search.c (skip_chars): Implement support for the predefined character classes in this function. tests/ChangeLog addition: 2012-05-04 Aidan Kehoe <kehoea@parhasard.net> * automated/regexp-tests.el (equal): * automated/regexp-tests.el (Assert-char-class): Correct a stray parenthesis; add tests for the predefined character classes with #'skip-chars-{forward,backward}; update the tests to reflect some changed design decisions on my part. man/ChangeLog addition: 2012-05-04 Aidan Kehoe <kehoea@parhasard.net> * lispref/searching.texi (Regular Expressions): * lispref/searching.texi (Syntax of Regexps): * lispref/searching.texi (Char Classes): * lispref/searching.texi (Regexp Example): Document the predefined character classes in this file.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 04 May 2012 21:12:02 +0100
parents d026b665014f
children 289cf21be887
comparison
equal deleted inserted replaced
5649:d026b665014f 5653:3df910176b6a
1 2012-05-04 Aidan Kehoe <kehoea@parhasard.net>
2
3 * regex.c:
4 Move various #defines and enums to regex.h, since we need them
5 when implementing #'skip-chars-{backward,forward}.
6 * regex.c (re_wctype):
7 * regex.c (re_iswctype):
8 Be more robust about case insensitivity here.
9 * regex.c (regex_compile):
10 * regex.h:
11 * regex.h (RE_ISWCTYPE_ARG_DECL):
12 * regex.h (CHAR_CLASS_MAX_LENGTH):
13 * search.c (skip_chars):
14 Implement support for the predefined character classes in this
15 function.
16
1 2012-04-25 Aidan Kehoe <kehoea@parhasard.net> 17 2012-04-25 Aidan Kehoe <kehoea@parhasard.net>
2 18
3 * search.c (string_match_1): Actually use the POSIX argument here, 19 * search.c (string_match_1): Actually use the POSIX argument here,
4 pass it to compile_pattern(). Thank you for the bug report, Ilya 20 pass it to compile_pattern(). Thank you for the bug report, Ilya
5 Shlyakhter! 21 Shlyakhter!