fix spurious parsing of uniforms in some cases
prevent shader regex from mixing up lines