[Top][All Lists]

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

Re: Structural regular expressions

From: Harald Hanche-Olsen
Subject: Re: Structural regular expressions
Date: Thu, 09 Sep 2010 08:34:15 +0200 (CEST)

+ Kan-Ru Chen <address@hidden>:

> Could this be implemented like a `virtual-buffer'.
>   (with-virtual-buffer LABEL &rest BODY)
> From the virtual-buffer point of view, the multiple regions marked by
> LABEL are as a whole, connected buffer. Then legacy code could work on
> this buffer without change.

And you might get very surprised when a search-and-replace replaced
some text spanning more than one of the regions.

- Harald

reply via email to

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