in reply to Special cases make special community
Also, split with the empty pattern splits into separate characters.
As for 'afterthought features' in modern regular expressions, since 5.10 we also have (*...) as 'new syntax'. Before 5.10, (* could not be valid (unless escaped). (+ is up for grabs for the next wave of new features. ;-)
|
|---|