Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't readd comments to gettext when comments already exist #1784

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

Miepee
Copy link
Contributor

@Miepee Miepee commented Jun 1, 2024

Description

We use negative lookaheads to determine whether a comment already exists. See https://regex101.com/r/8pI24U/1 for a playground session.
Fixes #1426

Caveats

Performance may be slightly worse.

Copy link
Member

@colinator27 colinator27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as this was tested to work, looks good to me.

@Jacky720 Jacky720 merged commit 5f180d7 into UnderminersTeam:master Jun 2, 2024
5 checks passed
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.

Automatic code messages get duplicated every time one compiles on Profile Mode.
3 participants