Skip to content
Discussion options

You must be logged in to vote

Hi @snarkipus,

I imagine it supports it, but it will probably require some additional input from the dev to determine the first character which actually might match this regular expression (see here). In theory, you can override the DefaultTokenBuilder.buildTerminalToken method to add/calculate this token property manually.

I'm wondering a bit though, why does your terminal require positive lookbehind? Is the start of the comment not actually part of the comment? Maybe with a bit more context, we can work out a simpler solution for this.

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
7 replies
@snarkipus
Comment options

snarkipus Jul 9, 2022
Collaborator Author

@msujew
Comment options

@snarkipus
Comment options

snarkipus Jul 9, 2022
Collaborator Author

@snarkipus
Comment options

snarkipus Sep 10, 2022
Collaborator Author

@msujew
Comment options

Answer selected by snarkipus
Comment options

snarkipus
Oct 27, 2022
Collaborator Author

You must be logged in to vote
4 replies
@msujew
Comment options

@snarkipus
Comment options

snarkipus Oct 29, 2022
Collaborator Author

@msujew
Comment options

@snarkipus
Comment options

snarkipus Oct 29, 2022
Collaborator Author

Comment options

snarkipus
Feb 12, 2023
Collaborator Author

You must be logged in to vote
1 reply
@msujew
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants