Skip to content

Problem with hyphens #1

@gtribello

Description

@gtribello

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions