Opened 6 years ago
#12911 new Feature Requests
Allow u32regex_match to accept boost::string_view
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | regex |
Version: | Boost 1.63.0 | Severity: | Optimization |
Keywords: | regex, string_view | Cc: |
Description
Boost provides a lot of boost::u32regex_match overloads for various string types in regex/icu.hpp.
It would be nice to also be able to pass a boost::string_view. Passing a char pointer from the string_view incurs the overhead of calling strlen() which doesn't work on strings that are not null terminated.
Note:
See TracTickets
for help on using tickets.