sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* ^ and $
@ 1993-02-21 10:02 John Mackin
  0 siblings, 0 replies; only message in thread
From: John Mackin @ 1993-02-21 10:02 UTC (permalink / raw)
  To: Sam Fans

Unfortunately,

    	x/\n? +/ v/\n/ c/ /

doesn't mean the same thing as

	x/ +/ v/^/ c/ /

as long as the selection consists of whole lines, as I posited.  I
thought along those paths before sending my first mail.  The suggested
command chews up the indentation of the first line, since there is no
\n inside the selection for the x command to match there.

I think there may be no way to express this without a way to match the null
string at the beginning of a line, the current meaning of `^'.

OK,
John.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-02-21 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-02-21 10:02 ^ and $ John Mackin

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 NNTP newsgroup(s).