re

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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