in reply to
Shouldn't \S* be ^\S*
Ah, I see: it matches zero occurances, succeeds, and stops looking. Changing it to s/x+//; shows that it does indeed march forward if it doesn't find a match; it just happens that * is always happy.
Comment on
Re: Shouldn't \S* be ^\S*
In Section
Meditations