Skip to content

Replaced bulky regex with simple whitespace replacement method.#2

Open
owais-ali-srti wants to merge 1 commit intosecuritiai:masterfrom
owais-ali-srti:master
Open

Replaced bulky regex with simple whitespace replacement method.#2
owais-ali-srti wants to merge 1 commit intosecuritiai:masterfrom
owais-ali-srti:master

Conversation

@owais-ali-srti
Copy link
Copy Markdown

The removed regex is a known performance issue (vsch#633). This PR replaces that regex with simple whitespace replacement. However, it also combines all multiple whitespaces into a single whitespace, whereas the original does so only when a newline character is present in between.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant