On Friday 20 September 2002 23:01, Daniel Pittman wrote:
On Fri, 20 Sep 2002, Steven T. Hatton wrote:
[fantastic responses]
I tried to be a good by and take this over the XEmacs users list, but there
doesn't seem to be one anymore. I haven't done a lot of work on the XEmacs
document since I last posted it. But I have been working on related issues.
3) You need better examples. The regexp stuff in XEmacs doesn't
allow
any operation more complex than 'substring' and 'move' on the
original, though.
66.92.149.152
public.globalsymmetry.com
[Verisign tech support told me getting my ip address associated with my
domain name constituted an "advanced DNS issue", and thus i will have to
wait til monday to find out why the earth revolved 7 time in 24 hours.]
http://public.globalsymmetry.com/open-source/org/xemacs/cpx/ch04.html
Item #3
Complex Regular Expressions in General. There have been many times when I
wanted to replace certain elements in a repeating pattern, and have found it
difficult to formulate the regular expression for doing so. For example, how
should we do a search and replace on <outer> <inner>inner 1 text
</inner>
<inner>inner 2 text </inner> </outer> to replace the <outer>…
</outer> ?
This might be obvious, but I don't believe I ever came up with a solution for
it. The new line thing was far more of a problem. That C-j was a great
help! Thanks!
I believe that Emacs now offers a programmatic regexp replace
function, where you can write arbitrarily complex Lisp as the right
hand side.
HTH. HAND.
Daniel
STH