On 2/11/07, Chris Moore <[EMAIL PROTECTED]> wrote:
(eval-expression (quote (skip-chars-forward "[:ascii:]")) nil)
seems to know that tab and newline are ASCII characters.
The code responsible for this behaviour is in src/regex.c:
/* Map a string to the char class it names (if any). */
[...]
else if (STREQ (string, "ascii")) return RECC_ASCII;
and
case RECC_ASCII: return IS_REAL_ASCII (ch);
and
/* 1 if C is an ASCII character. */
# define IS_REAL_ASCII(c) ((c) < 0200)
ie. [:ascii:] matches all characters < 128
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug