Ar an triú lá de mí Lúnasa, scríobh Uwe Brauer:
> But keeping the original translation table and using
#'regexp-quote
> is much less likely to introduce bugs.
BTW could the translation table contain constructions with allow
arguments, such as the following query-replace-regexp?
(query-replace-regexp "\\([i]\\)on" "\\1'on")
Yes, but if so you can’t use regexp-quote, because regexp-quote will ensure
this won’t work.
--
‘Liston operated so fast that he once accidentally amputated an assistant’s
fingers along with a patient’s leg, […] The patient and the assistant both
died of sepsis, and a spectator reportedly died of shock, resulting in the
only known procedure with a 300% mortality.’ (Atul Gawande, NEJM, 2012)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta