Skip to content

Recognizing repeat_till0 to () without the suffix #336

Closed Answered by epage
yuriks asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, right, you want to recognize only the accumulated portion and ignore the other part. That wouldn't work with the approach I mentioned.

The options I can think of

  • Accumulate into a String and take the performance hit
  • use a closure to capture a checkpoint at the start of the space0, ";;;", ... section and then manually recognize the preceding string
  • Require location tracking on I and capture indices for the space0, ";;;", ... section and use that to get the preceding string.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@epage
Comment options

Answer selected by yuriks
@yuriks
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants