performance optimisation to normalise() function. the function is called often during parsing, so this little tweak should pay out. it replaces 4 calls to preg_replace() with 1 call to preg_replace() with rules/replace-arrays passed to the function.
performance optimisation to normalise() function.
the function is called often during parsing, so this little tweak should pay out.
it replaces 4 calls to preg_replace() with 1 call to preg_replace() with rules/replace-arrays passed to the function.

simpletest/simpletest,simpletest/simpletest,simpletest/simpletest,simpletest/simpletest