-
Notifications
You must be signed in to change notification settings - Fork 443
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
overlapping pattern #590
Comments
Please provide more detail. I don't see any support for overlapping matches in Python's regex library: https://docs.python.org/3/library/re.html Please provide links, and, ideally a code sample. |
@BurntSushi Sorry for that, here is the link , and please refer:
|
I asked you for a code sample so that I can understand what problem you're trying to solve. But you didn't give me one. As far as I can tell, strictly speaking, no, overlapping matches are not and will never be supported. However, some use cases may be aptly covered by |
Not sure if I should bump this but I have a use case for overlapping patterns. I'm writing a library for 2d pattern matching similar to what https://github.com/mxgmn/MarkovJunior does. This requires finding all overlapping patterns like |
@expenses Code examples would help. If it's just literals like If you do need overlapping regex matches, then some of the low level APIs in |
Does this package support overlapping searching like finditer(patter, overlapped=True) in python package regex?
The text was updated successfully, but these errors were encountered: