You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There at (1) |= doesn't work as I expect for some reson, It didn't catch some values.
If I replace it with
re = re | (mark_tag(index++) = item);
it just crashes. If I replace with:
auto t = re;
re = t | (mark_tag(index++) = item);
it making captures of previous tags to be subexpresions matches. So code doesn't work as I want.
Is it any way to prevent sub-expression capture isolation?
As I understand it should be some intermediate type before sregex to express expression under construction. So it will not isolate matches of existing part.
I'm using v1.65.1
The text was updated successfully, but these errors were encountered:
Hello.
I need to find which regex of N my string matches.
It's easy to implement if I have them compile time:
But I have a vector:
There at (1)
|=
doesn't work as I expect for some reson, It didn't catch some values.If I replace it with
it just crashes. If I replace with:
auto t = re; re = t | (mark_tag(index++) = item);
it making captures of previous tags to be subexpresions matches. So code doesn't work as I want.
Is it any way to prevent sub-expression capture isolation?
As I understand it should be some intermediate type before sregex to express expression under construction. So it will not isolate matches of existing part.
I'm using v1.65.1
The text was updated successfully, but these errors were encountered: