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

Concurrency issues when using regex #37

Open
i-sinister opened this issue Dec 11, 2023 · 0 comments
Open

Concurrency issues when using regex #37

i-sinister opened this issue Dec 11, 2023 · 0 comments

Comments

@i-sinister
Copy link

i-sinister commented Dec 11, 2023

Without regular expressions multiple instances of the generated parser can be used concurrently. When regexps are used they are declared as 'static' but are in fact mutable objects, and _ParseRegexp method changes state of the objects. This prevents using parser with regular expressions concurrently:
image
image

Please change parser generation so that regexps are not static

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

1 participant