Skip to content

Strip comments during validation#46

Open
jmelancon wants to merge 2 commits intoacm-ndsu:mainfrom
jmelancon:main
Open

Strip comments during validation#46
jmelancon wants to merge 2 commits intoacm-ndsu:mainfrom
jmelancon:main

Conversation

@jmelancon
Copy link
Copy Markdown

We had the word "from" in one of our comments. We found that our client was failing validation with an index error. These commits use a regex to strip out comments and strings to prevent this.

I am not good at regex, HOWEVER, this appears to function. I think.

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