varGroupName builds a capturing group name for the indexed variable.
(idx int)
| 306 | |
| 307 | // varGroupName builds a capturing group name for the indexed variable. |
| 308 | func varGroupName(idx int) string { |
| 309 | return "v" + strconv.Itoa(idx) |
| 310 | } |
| 311 | |
| 312 | // ---------------------------------------------------------------------------- |
| 313 | // routeRegexpGroup |