unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* regexp help
@ 2008-04-23 14:34 Neal Becker
  0 siblings, 0 replies; 9+ messages in thread
From: Neal Becker @ 2008-04-23 14:34 UTC (permalink / raw)
  To: help-gnu-emacs

I'm looking at outline mode.

I see outline-regexp is set to:
Its value is "[*\f]+"

Looking in emacs info, I see no reference to '\f'.  What is it?

Looking at a buffer in C-mode, I see:
Its value is "[^#\n^M]"

I don't recognize the '#', what does this mean?





^ permalink raw reply	[flat|nested] 9+ messages in thread
* regexp help
@ 2007-02-02 23:20 gokhalen
  2007-02-03  3:37 ` HS
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: gokhalen @ 2007-02-02 23:20 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I needed to replace lines matching the following pattern

"hello      123456123456"

with

"hello      123456 123456"

I used

M-x replace-regexp RET hello      ...... RET \&                      /
* NOTE: a white space follows the \&  */

To do this.

I was wondering how I would do this with the \d construct. That is how
would I do this along the lines of

M-x replace-regexp RET hello     \(......\)\1 RET hello      \1    /*
NOTE: a white space follows the \1    */


Thanks,

  -Nachiket.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-04-23 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.10741.1208961303.18990.help-gnu-emacs@gnu.org>
2008-04-23 15:59 ` regexp help Johan Bockgård
2008-04-23 16:04 ` tyler
2008-04-23 14:34 Neal Becker
  -- strict thread matches above, loose matches on Subject: below --
2007-02-02 23:20 gokhalen
2007-02-03  3:37 ` HS
2007-02-03  4:27 ` Matthew Flaschen
2007-02-03  4:31   ` Matthew Flaschen
     [not found] ` <mailman.3926.1170476834.2155.help-gnu-emacs@gnu.org>
2007-02-03 20:31   ` M G Berberich
2007-02-03 22:18   ` Pascal Bourguignon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).