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

Package Clause Regex matches incorrect string. #670

Open
Felalolf opened this issue Aug 18, 2023 · 0 comments
Open

Package Clause Regex matches incorrect string. #670

Felalolf opened this issue Aug 18, 2023 · 0 comments
Labels
bug Something isn't working parsing

Comments

@Felalolf
Copy link
Contributor

Felalolf commented Aug 18, 2023

For a scion file (https://github.com/viperproject/VerifiedSCION/blob/master/pkg/slayers/doc.go),
the getPackageClause of PackageResolver.scala matches "benchmarks" and not "slayers".
It seems to me that the used regex is matching "benchmarks" of the comment "see the package benchmarks for reference".
This behavior was observed on my and a student's windows system.

@Felalolf Felalolf added bug Something isn't working parsing labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parsing
Projects
None yet
Development

No branches or pull requests

1 participant