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
with std::regex one can get the "foo" part with the prefix() method of std::match_results.
Is there a correct way to have the same functionality with ctre? One cannot just compare the iterator of to_view().begin() with the original string's iterator as it is UB to compare iterators of different objects and comparing the pointers to the underlying data() is error-prone
The text was updated successfully, but these errors were encountered:
Hello,
given e.g.
with std::regex one can get the "foo" part with the prefix() method of std::match_results.
Is there a correct way to have the same functionality with ctre? One cannot just compare the iterator of to_view().begin() with the original string's iterator as it is UB to compare iterators of different objects and comparing the pointers to the underlying data() is error-prone
The text was updated successfully, but these errors were encountered: