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
I saw that RE2 has the Consume API for continually matching against successive segments of data, but it appears that it always starts the match at the start of each segments. Is there a way to match across the boundary between two segments?
Say for example I have the pattern (\w+)=(\w+) and two segments of data, one that ends with key= and the other that starts with value. I'd like to be able for the matcher to keep track that it's seen part of the match so that it can finish the match on the next segment.
Is that possible with RE2?
The text was updated successfully, but these errors were encountered:
I saw that RE2 has the
Consume
API for continually matching against successive segments of data, but it appears that it always starts the match at the start of each segments. Is there a way to match across the boundary between two segments?Say for example I have the pattern
(\w+)=(\w+)
and two segments of data, one that ends withkey=
and the other that starts withvalue
. I'd like to be able for the matcher to keep track that it's seen part of the match so that it can finish the match on the next segment.Is that possible with RE2?
The text was updated successfully, but these errors were encountered: