regexutil

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamsMap

type ParamsMap map[string]string

func GetParams

func GetParams(pattern *regexp.Regexp, input string) ParamsMap

*

  • Parses url with the given regular expression and returns the
  • group values defined in the expression. *

type RepeatedParamsMap

type RepeatedParamsMap map[int]ParamsMap

func GetRepeatedParams

func GetRepeatedParams(pattern *regexp.Regexp, input string) RepeatedParamsMap

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL