You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check for capturing groups which used to work in older versions
64
64
ifreg.NumSubexp() !=len(idxs)/2 {
65
-
returnnil, fmt.Errorf(fmt.Sprintf("route %s contains capture groups in its regexp. ", template) +"Only non-capturing groups are accepted: e.g. (?:pattern) instead of (pattern)")
65
+
returnnil, fmt.Errorf("route %s contains capture groups in its regexp. Only non-capturing groups are accepted: e.g. (?:pattern) instead of (pattern)", template)
0 commit comments