[Bug: 21.4.15] replace-regexp
Robert Pluim
rpluim at gmail.com
Thu Mar 16 04:50:54 EST 2006
On 3/16/06, Chris Rowse <chris at forth.co.za> wrote:
>
> To: XEmacs Beta <xemacs-beta at xemacs.org>
> Subject: [Bug: 21.4.15] replace-regexp
> --text follows this line--
> ================================================================
> Dear Bug Team!
>
> I'm having a problem with replace-regexp
> I need to pick up the matched regular expression and insert it in
> the
> output \1 is not working for me.
>
> Maybe I am doing something wrong?
> I cant google anything on the subject, I'v tried combinations of \&1
> etc to no avail.
Google? What's wrong with C-h f replace-regexp?
In TO-STRING, `\&' stands for whatever matched the whole of REGEXP,
and `\N' (where N is a digit) stands for
whatever what matched the Nth `\(...\)' in REGEXP.
I don't see any \( \) groupings in your regexp, the following might work
better:
xsl:template match=\([\"a-zA-Z0-9]+\)>
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/xemacs-beta/attachments/20060316/f8522d5c/attachment.html
More information about the XEmacs-Beta
mailing list