Is there a way to run BE with case sensitive regex?
By default it searches for all matches case insensitive
I have tried changing the value in be20_api/regex_vector.cpp and rebuilding but it still returns a case insensitive result
void regex_vector::push_back(const std::string& val) {
RE2::Options options;
options.set_case_sensitive(true);
RE2 allows for appending ?i to the end of the regex to allow for case insensitivity.
A --case-insensitive flag could be useful and default BE to case sensitive.
Reference
RE2 ignore case
Is there a way to run BE with case sensitive regex?
By default it searches for all matches case insensitive
I have tried changing the value in be20_api/regex_vector.cpp and rebuilding but it still returns a case insensitive result
RE2 allows for appending
?ito the end of the regex to allow for case insensitivity.A
--case-insensitiveflag could be useful and default BE to case sensitive.Reference
RE2 ignore case