[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case change in replacement text with regex-replace

From: Johan Bockgård
Subject: Re: case change in replacement text with regex-replace
Date: Wed, 18 Apr 2007 01:47:24 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

Dieter Wilhelm <address@hidden> writes:

> \U I didn't see in the elisp manual

For the record, XEmacs does have \U:

    `\&' in REPLACEMENT means substitute original matched text.
    `\N' means substitute what matched the Nth `\(...\)'.
         If Nth parens didn't match, substitute nothing.
    `\\' means insert one `\'.
    `\u' means upcase the next character.
    `\l' means downcase the next character.
    `\U' means begin upcasing all following characters.
    `\L' means begin downcasing all following characters.
    `\E' means terminate the effect of any `\U' or `\L'.
    Case changes made with `\u', `\l', `\U', and `\L' override
    all other case changes that may be made in the replaced text.

Johan Bockgård

reply via email to

[Prev in Thread] Current Thread [Next in Thread]