-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract matching sequence of tokens #41
Comments
Sequences can only be built as left regular expressions, e.g.: SEQ = any( pref = WORD); This definition creates SEQ pattern for every subsequence. %MATCHER exclusive This is not enough. But it's yet unclear what has to be implemented and what not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes you want to extract the original text of a matching sequence, for instance:
(the rule syntax is a complete invention of mine :-) ).
The matching text is:
I would like to extract the text with dots and commas. So far I'm only able to extract
the single tokens:
So, it's not easy to reconstruct the text from the
c[]
array of tokens.The text was updated successfully, but these errors were encountered: