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

Fix regexp warning Issue #48 #49

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

andyatkinson
Copy link
Collaborator

Apparently the \w regexp character already includes the underscore, so the underscore is redundant, generating the warnings.

The fix was to remove the underscore. It would be nice to verify this manually on a structure dump with some of the statements that related to waht's modified here.

Apparently the \w regexp character already includes the underscore, so
the underscore is redundant, generating the warnings.

The fix was to remove the underscore. It would be nice to verify this
manually on a structure dump with some of the statements that related to
waht's modified here.
@ghiculescu
Copy link
Contributor

As I said - not a regex guy at all. Looks like the tests passed, so that's good enough for me!

@andyatkinson andyatkinson merged commit 616fdae into lfittl:master Sep 18, 2024
2 checks passed
@andyatkinson
Copy link
Collaborator Author

@ghiculescu Let's include this in the upcoming release.

Copy link
Owner

@lfittl lfittl left a comment

Choose a reason for hiding this comment

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

👍

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.

3 participants