regex

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package regex contains regexp helper methods for group matches.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupMatch

func GroupMatch(data string, regexString string) (match bool, m map[string]string, err error)

GroupMatch returns map if it found a match.

func GroupMatchAll

func GroupMatchAll(data string, regexString string) (match bool, maps []map[string]string, err error)

GroupMatchAll returns array of maps if it found a match.

Types

This section is empty.

Jump to

Keyboard shortcuts

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