-#else
- cmatch sub;
-#endif
- if (regex_match(STRCONV(line), sub, reg)) {
- int const n = atoi(STRCONV(sub.str(1)));
- string const str = STRCONV(sub.str(2));
+ if (regex_match(line, sub, reg)) {
+ int const n = convert<int>(sub.str(1));
+ string const str = sub.str(2);