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

Attempt to match against module name, only use path as a last resource #259

Open
rdbo opened this issue Sep 28, 2024 · 2 comments
Open

Attempt to match against module name, only use path as a last resource #259

rdbo opened this issue Sep 28, 2024 · 2 comments

Comments

@rdbo
Copy link
Owner

rdbo commented Sep 28, 2024

E.g client.dll will match against nottheclient.dll
It should try as hard as it can to match client.dll only, and only match path if there is no alternative or smth

@rdbo
Copy link
Owner Author

rdbo commented Sep 28, 2024

maybe do:

if path_separator in mod_name:
match_path()
else:
match_name()

@rdbo
Copy link
Owner Author

rdbo commented Sep 29, 2024

Or

path_match = ...
name_match = ...

if (name_match)
return name_match;
else
return path_match

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

No branches or pull requests

1 participant