On Sun, Apr 15, 2012 at 5:33 PM, Mats Lidell <matsl(a)xemacs.org> wrote:
What would it take to support [POSIX regexp character] classes to
get
compatible with GNU Emacs? Major C-code change or what?
To get compatibility shouldn't be too hard. We already need to parse []
and interpret classes, and the POSIX abbreviations like [:ascii:] only work
there. But the regexp parser code is non-trivial, I don't really know how
hard it would actually be for someone who isn't already quite familiar with
it.
Making it efficient might take a bit more work.
What also confuses me is that it seems we have support for them in
regexps but not in functions like re-search-forward!?
What do you mean by "support in regexps but not in re-search-forward"?
AFAIK we have no support for them at all, certainly not at the C level.
There might be some Lisp libraries that will translate (some of) those
classes to character classes understood by our regexp engine.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta