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

feat: allows braces on citekey #151

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mapreal19
Copy link
Collaborator

No description provided.

@mapreal19
Copy link
Collaborator Author

mapreal19 commented Jul 19, 2021

@inukshuk this is what I attempted to fix #150 but is breaking other tests. This is the right direction?

@mapreal19
Copy link
Collaborator Author

Travis not running tests? Shall we move it to Github Actions?

@inukshuk
Copy link
Owner

I was thinking to only change the lexer pattern for the parser to accept braces; we shouldn't strip them off the key, because it would be unexpected for the parser to alter the contents (this would have to go into some kind of optional filter, e.g., normalize_keys or something like that, but I don't think that it's necessary)

Yes, I think we're still configured for travis-ci.org which has been suspended and moving to Github Actions would be desirable. I'll open an issue for it.

@mapreal19
Copy link
Collaborator Author

ok! I'll help with CI first

@mapreal19 mapreal19 force-pushed the mario/feat/allow-braces-citekey branch from 5a3c5f1 to 074da38 Compare July 21, 2021 08:14
@mapreal19
Copy link
Collaborator Author

@inukshuk you can see the failing tests. Any idea of why including the braces in the regex pattern is breaking those tests?

@inukshuk
Copy link
Owner

Hm, for some reason adding the braces seems to make the key pattern match even beyond the final comma -- it's not obvious on a quick glance why that would happen. I'll have to take a closer look.

@mapreal19
Copy link
Collaborator Author

@inukshuk worth pursuing this issue?

@inukshuk
Copy link
Owner

Sure. Maybe it's just that the pattern is thrown off because the - is treated as a range delimiter because it's not at the end of the group anymore. Does it work if you escape the minus or move it back to immediately in front of the closing bracket?

@mapreal19 mapreal19 self-assigned this Nov 22, 2024
@mapreal19 mapreal19 force-pushed the mario/feat/allow-braces-citekey branch from 074da38 to caf2253 Compare November 22, 2024 19:48
@mapreal19
Copy link
Collaborator Author

I tried that but still one test that fails

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