regexp

package
v3.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 1 Imported by: 19

Documentation

Overview

Package regexp contains functions for dealing with regular expressions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(expression, input string) (string, error)

Find -

func FindAll

func FindAll(expression string, n int, input string) ([]string, error)

FindAll -

func Match

func Match(expression, input string) bool

Match -

func Replace

func Replace(expression, replacement, input string) string

Replace -

func ReplaceLiteral

func ReplaceLiteral(expression, replacement, input string) (string, error)

ReplaceLiteral -

func Split

func Split(expression string, n int, input string) ([]string, error)

Split -

Types

This section is empty.

Jump to

Keyboard shortcuts

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