re

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package re implements the Python Regular Expression module.

Index

Constants

This section is empty.

Variables

View Source
var MatchType = py.NewType("match", `regular expression match object`)
View Source
var PatternType = py.NewType("pattern", `regular expression pattern object`)

Functions

func Init added in v0.6.5

func Init()

Types

type Match

type Match struct {
	// contains filtered or unexported fields
}

func (*Match) M__bool__

func (m *Match) M__bool__() (py.Object, error)

func (*Match) M__repr__

func (m *Match) M__repr__() (py.Object, error)

func (*Match) M__str__

func (m *Match) M__str__() (py.Object, error)

func (*Match) Type

func (m *Match) Type() *py.Type

Type of this object

type Pattern

type Pattern struct {
	// contains filtered or unexported fields
}

func (*Pattern) M__repr__

func (p *Pattern) M__repr__() (py.Object, error)

func (*Pattern) M__str__

func (p *Pattern) M__str__() (py.Object, error)

func (*Pattern) Type

func (p *Pattern) Type() *py.Type

Type of this object

Jump to

Keyboard shortcuts

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