[Top][All Lists]

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

Re: using non-Emacs regexp syntax

From: Stuart D. Herring
Subject: Re: using non-Emacs regexp syntax
Date: Fri, 1 Dec 2006 12:30:02 -0800 (PST)
User-agent: SquirrelMail/1.4.6-7.el3.7lanl

> I don't know any other matcher where dot matches a newline.  Quite
> more relevant would be inverse character ranges like [^A-Z] that do
> _not_ match newline by default.

Not to compare the editors, or even really to inform the decision, but
just for complete information: dot always matches a newline in sed(1),
although often sed is matching against strings that contain no newlines,
since it takes a line at a time without the newline.  However, if newlines
are added to the pattern space, . matches them.


This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during

reply via email to

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