-
Notifications
You must be signed in to change notification settings - Fork 4
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
updated GCN circular regex matcher to expand matches #44
Conversation
NOTE: I did NOT include this pattern: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please add test cases.
- Why didn't it recognize text preceded by parentheses before?
resolves #51 |
This comment was marked as outdated.
This comment was marked as outdated.
This won't work because that issue is in the gcn repo not this repo so it will not auto link. I'll transfer the issue and it will get a new number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks. I'll approve and merge once the CI finishes. It's running slowly now because there are a lot of queued pipelines from dependabot updates.
bfa0505
to
b041a25
Compare
The linter automatically makes changes and makes my intentionally large whitespace gap normally spaced, which breaks two of the tests in each file. It also looks like carriage returns are messing thigns up in the json version on CI. |
Yes, but #45 should fix the newline comparison issues on Windows. I just rebased it into your branch. |
It does not seem to have worked. I also took the giant diff that it gave on the html file that it said was not matching and diffed them and could find no difference. I suspect that means it's an invisible whitespace character difference as well. |
…es additional test.
975fa44
to
4a7376f
Compare
Description
This update expands the regex pattern to include:
(GCN 25)
GCN circ 25
ANDGCN circ. 25
GCN nasa-gcn/gcn.nasa.gov#25
Related Issue(s)
Resolves #51
Testing
I looked into the cases pointed out by Tyler in the Issue. I used an existing circular that I added to the seed file. In this circular I added many different patterns in many different positions to show how it behaves in different cases. These are the results:
