Skip to content

fix: address edge case in comment stripping#1780

Merged
aearly merged 1 commit intocaolan:masterfrom
Trott:func-fix
Jan 10, 2022
Merged

fix: address edge case in comment stripping#1780
aearly merged 1 commit intocaolan:masterfrom
Trott:func-fix

Conversation

@Trott
Copy link
Copy Markdown
Contributor

@Trott Trott commented Dec 31, 2021

Unforunately, cdfb491 introduced issues
with certain edge cases for comments. Fixing the edge case in the
regular expression is likely to reintroduce the issue that commit was
addressing. This change replaces the regular expression entirely with
a function that iterates through the string instead of regular
expressions.

Unforunately, cdfb491 introduced issues
with certain edge cases for comments. Fixing the edge case in the
regular expression is likely to reintroduce the issue that commit was
addressing. This change replaces the regular expression entirely with
a function that iterates through the string instead of regular
expressions.
@aearly aearly merged commit b015d34 into caolan:master Jan 10, 2022
@Trott Trott deleted the func-fix branch January 10, 2022 00:57
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.

2 participants