Added language-dependent tab size, replaced line separators across the board with the system line separator specification. I do need to check the regex implementations though, to be sure that they will work properly on all systems.