Skip to content

lexer: return string based on some start position index, which extends beyond current match. #51

@erjoalgo

Description

@erjoalgo

I'm trying to deal with C-style comment blocks. When I see a "/", I should return the entire comment block which starts before the match to "/". Is there a supported way of doing this, assuming I already know the position where the comment starts?

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