Skip to content

AST post-processing #116

Closed
Closed
@hamishknight

Description

@hamishknight

This issue tracks logic that needs to be implemented after the parser has produced an AST.

To be implemented:

  • Group reference validity checking (as group references may refer to groups that come after them)
    • This will require deciding how to handle the ambiguity with the syntax (?(xxx)). PCRE always treats this as a named reference. .NET only treats it as a named reference if there is a group defined with that name, otherwise it treats it as an arbitrary regex condition. It's possible we may want to require users explicitly spell named references (?('xxx')) to avoid this ambiguity.
  • Errors for AST nodes that are unsupported by the matching engine
  • Warnings for syntax that has a better spelling

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