On 12/30/2010 3:23 PM, Jamie Zawinski wrote:
Having not followed the politics in years, I don't know whether
this is still considered heresy, but I have to ask:
Isn't it about time that XEmacs supported the Perl/Python/Javascript regexp syntax?
The world has moved on.
Even if church dogma dictates that we still double-slashify all our parens in Lisp code,
Perl's simpler syntax could still be supported for interactive commands.
It's mostly the extra backslashing and lack of \s that drives me crazy on a daily
basis.
I guess this would fit the largest part of your requirement?
# Raw strings.
SXEmacs has Python-style raw strings. It greatly reduces "backslashitis"
when writing those hairy regexps. :-)
* Normal regexp: "\\(?:^\\|[^\\]\\)\\(?:\\\\\\\\\\)*\\(\\\\[@A-Za-z]+\\)"
* Raw string regexp: #r"\(?:^\|[^\]\)\(?:\)*\(\\[@A-Za-z]+\)"
XEmacs 21.5 now has raw strings.
--
Nelson Ferreira
Pubkey:
http://triatlantico.org/njsf.asc
(9DFE 82A7 C689 BAEE EC25 A8E8 3C64 1789 7420 ED20)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta