simplified interp for regexp a bit