Skip to content

Problem with escaped characters in file name tests #4

@brandes-pq

Description

@brandes-pq

If a file name test starts with an escaped ?, * or TAB, a syntax error is thrown. Example:

# fox -p '~?'
<errors>
  <error code="SYNTAX_ERROR" msg="Unexpected text after expression end: ~?"/>
</errors>

Whereas this works:

# fox -p 'a~?'
<foxpathTree>
  <foxpath context="/Users/hauke/Projects/ParsQube/XML/foxpath" text="a~?">
    <foxStep axis="child" name="a~?" regex="^a\?$"/>
  </foxpath>
</foxpathTree>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions