Jacek Caban : jscript: Use (index,length) pair as match result.