Close GH-8: Use r.js parser instead of regular expression!.