cre2

package module
v0.0.0-...-cc962e4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyCBytes

func CopyCBytes(sPtr unsafe.Pointer, sLen int) []byte

func CopyCString

func CopyCString(sPtr unsafe.Pointer) string

func CopyCStringN

func CopyCStringN(sPtr unsafe.Pointer, n int) string

func Delete

func Delete(ptr unsafe.Pointer)

func DeleteOpt

func DeleteOpt(opt unsafe.Pointer)

func ErrorArg

func ErrorArg(rePtr unsafe.Pointer, argPtr unsafe.Pointer)

func ErrorCode

func ErrorCode(rePtr unsafe.Pointer) int

func FindAndConsume

func FindAndConsume(rePtr unsafe.Pointer, textPtr unsafe.Pointer, matchPtr unsafe.Pointer, nMatch int) bool

func Free

func Free(ptr unsafe.Pointer)

func GlobalReplace

func GlobalReplace(rePtr unsafe.Pointer, textAndTargetPtr unsafe.Pointer, rewritePtr unsafe.Pointer) bool

func Malloc

func Malloc(size int) unsafe.Pointer

func Match

func Match(rePtr unsafe.Pointer, textPtr unsafe.Pointer, textLen int, startPos int, endPos int, anchor int, matchArr unsafe.Pointer, nMatch int) bool

func NamedGroupsIterDelete

func NamedGroupsIterDelete(iterPtr unsafe.Pointer)

func NamedGroupsIterNew

func NamedGroupsIterNew(rePtr unsafe.Pointer) unsafe.Pointer

func NamedGroupsIterNext

func NamedGroupsIterNext(iterPtr unsafe.Pointer, namePtr *unsafe.Pointer, indexPtr *int) bool

func New

func New(patternPtr unsafe.Pointer, patternLen int, opts unsafe.Pointer) unsafe.Pointer

func NewOpt

func NewOpt() unsafe.Pointer

func NumCapturingGroups

func NumCapturingGroups(rePtr unsafe.Pointer) int

func OptSetCaseSensitive

func OptSetCaseSensitive(opt unsafe.Pointer, flag bool)

func OptSetLogErrors

func OptSetLogErrors(opt unsafe.Pointer, flag bool)

func OptSetLongestMatch

func OptSetLongestMatch(opt unsafe.Pointer, flag bool)

func OptSetPosixSyntax

func OptSetPosixSyntax(opt unsafe.Pointer, flag bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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