Skip to content
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

What does retry-limit-in-match mean? #143

Closed
fstab opened this issue May 31, 2019 · 2 comments
Closed

What does retry-limit-in-match mean? #143

fstab opened this issue May 31, 2019 · 2 comments

Comments

@fstab
Copy link

fstab commented May 31, 2019

I'm getting an error retry-limit-in-match over, and I don't understand what that means. I see from the release notes that this was enabled with rel 6.8.0, and I found an API function to configure it, but I didn't find documentation on what it does.

Could you give me a short explanation or a link to documentation on this?

@kkos
Copy link
Owner

kkos commented Jun 1, 2019

In the matching at one position in the search range of the string, count the number of times to move from the failure of the match to another choice.
An error will occur if the number exceeds the limit.

Among the "another choice from failure" are:

  • Alternation "|"
  • Quantifier "a*" etc..
  • Using "another choice" internally:
    \X (== (?>\O(?:\Y\O)*))
    Absent functions
    Negative look-ahead
    Negatvie look-behind

@fstab
Copy link
Author

fstab commented Jun 1, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants