Maybe someone here can help me make sense of this simple sam session:

,c
this is a file, one of
many files with singular
and/or plurals
.
,y/ / g/.+s$/ p
plurals

I would expect that to have responded with "thisfilesplurals".
According to the docs, g/.+s$/ should check that dot ends with "s".

,y/ / g/^[ao].*/ p
singular
and/or

I would have thought that would return "aoneof".

It looks as if ^ and $ are acting as \n.

What am I missing?

-- 
+---------------------------------------------------------------+
|Smiley       <smi...@icebubble.org>    PGP key ID:    BC549F8B |
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+

Reply via email to