regexp

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0, MIT Imports: 1 Imported by: 0

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 QuoteMeta

func QuoteMeta(input string) string

QuoteMeta -

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