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

when searching for a package line, allow apostrophes in the module name #1346

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

haarg
Copy link
Member

@haarg haarg commented Feb 2, 2025

When searching for a package line to see if it is intentionally hidden, we are matching against the specific module that we are using. But the name that exists in the code could include apostrophes instead of double colons, while the recorded module name is normalized to use colons.

Construct a regex to allow matching the module name but with apostrophe package separators.

When searching for a package line to see if it is intentionally hidden,
we are matching against the specific module that we are using. But the
name that exists in the code could include apostrophes instead of double
colons, while the recorded module name is normalized to use colons.

Construct a regex to allow matching the module name but with apostrophe
package separators.
@haarg haarg merged commit f5c5057 into master Feb 5, 2025
2 checks passed
@haarg haarg deleted the haarg/module-indexed-match-apostrophe branch February 5, 2025 03:15
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