rx

Stephen J. Turnbull stephen at xemacs.org
Sun Apr 10 07:10:33 EDT 2011


Andreas Röhler writes:

 > > Are you missing it for your own usage or do you know of any useful
 > > package that is depending on it?
 > 
 > Actually pasted a chunk of code from python.el into python-mode.el
 > That would break XEmacs compat.

(defvar some-rx "the compiled expression")
  ;; If you have the rx library available, the preferred source for
  ;; `some-re' is below.  You can evaluate the text into the buffer with
  ;; C-u C-x Ce.
  ;; (rx '(some expression))
  "the compiled expression"
)

By the way, "rx" is the name of a very standard-conforming regular
expression library by Tom Lord.  Now *that* would be a nice addition.



More information about the XEmacs-Beta mailing list