« first day (889 days earlier)      last day (2903 days later) » 

6:18 AM
2
Q: matching text ranges with C++11 regexes

suyashI am trying regexes in C++, and here is some code #include <iostream> #include <regex> int main (int argc, char *argv[]) { std::regex pattern("[a-z]+", std::regex_constants::icase); std::regex pattern2("excelsior", std::regex_constants::icase); std::string text = "EXCELSIOR"; if (std:...

@RobertHarvey Why the heck do you need one?
^.{n} (plus s flag) or ^[\s\S]{n} (workaround if JavaScript)
 

« first day (889 days earlier)      last day (2903 days later) »