-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
need a way to match at beginning of string when start > 0 #80
Comments
What about passing a slice? or an openArray?
Yeah, it does. Maybe it needs fixing. |
that would prevent using context eg lookaround: Note that supporting openArray is independently useful. |
Oh, a special case. I'll wait for re/nre to implement it anyway. btw, is there a regex engine that has this feature? I tried Python's re, but it works just like re/nre. |
I'm not sure; but supporting |
I think this would be a useful feature (allowing Edit: Or alternatively, find/match procs that accept |
following #67,
^
now refers to position 0 (instead of start) even if start > 0.We need a way to allow matching at
position = start
(ie emulate the behavior of^
before #67).As suggested here #64 (comment), how about adding a bool flag, treatStartAsStart, with perhaps a better name?
note
start
semantics nim-lang/Nim#14284 (comment)The text was updated successfully, but these errors were encountered: