Support positiv/negative lookahead/lookbehing regex syntax #8653
|
It would be great if the regex engine would support lookahead & lookbehinds to support searches like This is probably not supported due to the reason that the code search is build in rust and the rust regex crate doesn't support it:
|
Replies: 2 comments
|
Another closely related feature that unfortunately does not seep supported by the regex crate: possessive qualifiers (which go hand in hand with lookaheads to me, because if there's something optional before the lookahead, you definitely don't want the engine to backtrack) |
|
Thanks for the feedback. As noted by the documentation you quoted, these regular expression features cause non-linear runtimes. This is why we do not support them and do not plan to support them. |
Thanks for the feedback. As noted by the documentation you quoted, these regular expression features cause non-linear runtimes. This is why we do not support them and do not plan to support them.