Tell single nodes from node collections by testing for .length property.
Don't push empty node collections to the scope array.
More robust regexes. Assign getter based on regex.test.
Discrete splitting, matching regexes. Fixes #3 and fixes #1.