+ n = ngx_regex_exec(rc.regex, &office_hours, captures, (1 + 4) * 3);
+
+ if (n >= 0) {
+ /* Opening Hours */
+
+ parsed_hours[0] = 60 * 60 * ngx_atoi(&office_hours.data[captures[2]], captures[3] - captures[2]);
+ parsed_hours[0] = parsed_hours[0] + 60 * ngx_atoi(&office_hours.data[captures[4]], captures[5] - captures[4]);
+
+ parsed_hours[1] = 60 * 60 * ngx_atoi(&office_hours.data[captures[6]], captures[7] - captures[6]);
+ parsed_hours[1] = parsed_hours[1] + 60 * ngx_atoi(&office_hours.data[captures[8]], captures[9] - captures[8]);
+
+ return parsed_hours;
+ }
+
+ /* Non-matching strings count as open */
+