Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.regexp
  • Platforms: .NET, .NET Standard 2.0, Island

Methods


Compile

 

class method Compile(expr: string): tuple of (Regexp, error)

 

static (Regexp, error) Compile(string expr)

 

static func Compile(_ expr: string) -> (Regexp, error)

 

func Compile(expr string) (Regexp, error)

 

Shared Function Compile(expr As string) As Tuple (Of Regexp, error)

Parameters:

  • expr:

CompilePOSIX

 

class method CompilePOSIX(expr: string): tuple of (Regexp, error)

 

static (Regexp, error) CompilePOSIX(string expr)

 

static func CompilePOSIX(_ expr: string) -> (Regexp, error)

 

func CompilePOSIX(expr string) (Regexp, error)

 

Shared Function CompilePOSIX(expr As string) As Tuple (Of Regexp, error)

Parameters:

  • expr:

Match

 

class method Match(pattern: string; b: Slice<Byte>): tuple of (matched: Boolean, err: error)

 

static (Boolean matched, error err) Match(string pattern, Slice<Byte> b)

 

static func Match(_ pattern: string, _ b: Slice<Byte>) -> (Boolean, error)

 

func Match(pattern string, b Slice<Byte>) (matched Boolean, err error)

 

Shared Function Match(pattern As string, b As Slice<Byte>) As Tuple (Of Boolean, error)

Parameters:

  • pattern:
  • b:

MatchReader

 

class method MatchReader(pattern: string; r: RuneReader): tuple of (matched: Boolean, err: error)

 

static (Boolean matched, error err) MatchReader(string pattern, RuneReader r)

 

static func MatchReader(_ pattern: string, _ r: RuneReader) -> (Boolean, error)

 

func MatchReader(pattern string, r RuneReader) (matched Boolean, err error)

 

Shared Function MatchReader(pattern As string, r As RuneReader) As Tuple (Of Boolean, error)

Parameters:

  • pattern:
  • r:

MatchString

 

class method MatchString(pattern: string; s: string): tuple of (matched: Boolean, err: error)

 

static (Boolean matched, error err) MatchString(string pattern, string s)

 

static func MatchString(_ pattern: string, _ s: string) -> (Boolean, error)

 

func MatchString(pattern string, s string) (matched Boolean, err error)

 

Shared Function MatchString(pattern As string, s As string) As Tuple (Of Boolean, error)

Parameters:

  • pattern:
  • s:

MustCompile

 

class method MustCompile(str: string): Reference<Regexp>

 

static Reference<Regexp> MustCompile(string str)

 

static func MustCompile(_ str: string) -> Reference<Regexp>

 

func MustCompile(str string) Reference<Regexp>

 

Shared Function MustCompile(str As string) As Reference<Regexp>

Parameters:

  • str:

MustCompilePOSIX

 

class method MustCompilePOSIX(str: string): Reference<Regexp>

 

static Reference<Regexp> MustCompilePOSIX(string str)

 

static func MustCompilePOSIX(_ str: string) -> Reference<Regexp>

 

func MustCompilePOSIX(str string) Reference<Regexp>

 

Shared Function MustCompilePOSIX(str As string) As Reference<Regexp>

Parameters:

  • str:

QuoteMeta

 

class method QuoteMeta(s: string): string

 

static string QuoteMeta(string s)

 

static func QuoteMeta(_ s: string) -> string

 

func QuoteMeta(s string) string

 

Shared Function QuoteMeta(s As string) As string

Parameters:

  • s: