in the continuing fit of making this faster, indexbyte instead of lastindex on second paren
switch to using buffer instead of ioutil