No reason to split into sourceParts, use the regex to extract matches directly.
-rw-r--r-- 28 .gitignore
-rw-r--r-- 18092 COPYING.txt
-rw-r--r-- 2461 Makefile
-rw-r--r-- 4779 README.md
-rw-r--r-- 2562 demo.html
-rw-r--r-- 588 package.json
-rw-r--r-- 11584 string-lerp.js
drwxr-xr-x - tests