rearrange functions within module to be more coherent
check ranges of octal escapes in strings