Changeset 19173
- Timestamp:
- 08/18/18 17:35:36 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/root2sql.cc
r19168 r19173 333 333 int main(int argc, const char* argv[]) 334 334 { 335 string input = "/this/is/my/dir/2018/12/13/12345_789_I.root";336 boost::regex rgx("([0-9]+)_([0-9]+)");337 338 boost::smatch ma;339 cout << boost::regex_replace(input, rgx, "$1$2", boost::regex_constants::format_default|boost::regex_constants::format_no_copy) << endl;340 341 return 1;342 343 335 Time start; 344 336
Note:
See TracChangeset
for help on using the changeset viewer.