all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Regexp that solves this ?
@ 2007-08-29 18:07 weber
  2007-08-29 18:31 ` Malte Spiess
  2007-08-29 18:37 ` Emilio Lopes
  0 siblings, 2 replies; 4+ messages in thread
From: weber @ 2007-08-29 18:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hi folks.
I'd like to know if there is a simple way to replace regexp a file to
convert tables like this:

| name | value |
| x1   | 1001  |
| x2   | 2002  |

to this

|| name | value |
| x1   | 1001  |
| x2   | 2002  |

The problem is having a regexp that depends on the next line.

Ideas?
-weber

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

end of thread, other threads:[~2007-08-29 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 18:07 Regexp that solves this ? weber
2007-08-29 18:31 ` Malte Spiess
2007-08-29 18:54   ` weber
2007-08-29 18:37 ` Emilio Lopes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.