-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Likely inherent from limitations of javascript's regex implementation, this module does not handle greedy regular expressions (there are also probably other variants that are problematic).
// logs null [ 'one', '', 'two' ] instead of null [ 'one', 'two' ]
pull(
pull.values(['one\n', '\ntwo']),
split(/\n+/),
pull.collect(console.log));
It seems difficult to appropriately handle this, so perhaps we should simply document this shortcoming?
Metadata
Metadata
Assignees
Labels
No labels