joewalker/domtemplate — comment on commit 386437fcebde0e52fb719e5ffce3edd9975a2cf7
File: lib/domtemplate.js line 347
By campd:

would it be quicker to capture the match and return that rather than matching-then-slicing?