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

Problem with hyphens #1

Open
gtribello opened this issue Jun 26, 2024 · 0 comments
Open

Problem with hyphens #1

gtribello opened this issue Jun 26, 2024 · 0 comments

Comments

@gtribello
Copy link
Member

PlumedToHTML is not able to lex the following input:

st_saxs: STATS ARG=(SAXS\\.q-.*) PARARG=(SAXS\\.exp-.*)

The problem is that the hyphen here appears to be treated as a word boundary. This needs to be investigated by first investigating if hyphens are always a problem or if it the combination of hyphen dot and * above that is the problem.

I have tried a separate lexing token for brackets around the input but that breaks inputs that use nested brackets of the same type.

Currently, you can avoid this problem by rewriting the input above as:

st_saxs: STATS ARG={(SAXS\\.q-.*)} PARARG={(SAXS\\.exp-.*)}

a less kludgy fix would be useful, however.

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