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

 

// .NET, .NET Standard 2.0
class method Compile(expr: string): tuple of (Memory<Regexp>, error)
// Island
class method Compile(expr: string): tuple of (Memory<Regexp>, error)

 

// .NET, .NET Standard 2.0
static (Memory<Regexp>, error) Compile(string expr)
// Island
static (Memory<Regexp>, error) Compile(string expr)

 

// .NET, .NET Standard 2.0
static func Compile(_ expr: string) -> (Memory<Regexp>, error)
// Island
static func Compile(_ expr: string) -> (Memory<Regexp>, error)

 

// .NET, .NET Standard 2.0
func Compile(expr string) tuple of (Memory<Regexp>, error)
// Island
func Compile(expr string) tuple of (Memory<Regexp>, error)

 

// .NET, .NET Standard 2.0
Shared Function Compile(expr As string) As Tuple (Of Memory<Regexp>, error)
// Island
Shared Function Compile(expr As string) As Tuple (Of Memory<Regexp>, error)

Parameters:

  • expr:

CompilePOSIX

 

// .NET, .NET Standard 2.0
class method CompilePOSIX(expr: string): tuple of (Memory<Regexp>, error)
// Island
class method CompilePOSIX(expr: string): tuple of (Memory<Regexp>, error)

 

// .NET, .NET Standard 2.0
static (Memory<Regexp>, error) CompilePOSIX(string expr)
// Island
static (Memory<Regexp>, error) CompilePOSIX(string expr)

 

// .NET, .NET Standard 2.0
static func CompilePOSIX(_ expr: string) -> (Memory<Regexp>, error)
// Island
static func CompilePOSIX(_ expr: string) -> (Memory<Regexp>, error)

 

// .NET, .NET Standard 2.0
func CompilePOSIX(expr string) tuple of (Memory<Regexp>, error)
// Island
func CompilePOSIX(expr string) tuple of (Memory<Regexp>, error)

 

// .NET, .NET Standard 2.0
Shared Function CompilePOSIX(expr As string) As Tuple (Of Memory<Regexp>, error)
// Island
Shared Function CompilePOSIX(expr As string) As Tuple (Of Memory<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>) tuple of (|name=matched| Boolean, |name=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) tuple of (|name=matched| Boolean, |name=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) tuple of (|name=matched| Boolean, |name=err| error)

 

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

Parameters:

  • pattern:
  • s:

MustCompile

 

// .NET, .NET Standard 2.0
class method MustCompile(str: string): Memory<Regexp>
// Island
class method MustCompile(str: string): Memory<Regexp>

 

// .NET, .NET Standard 2.0
static Memory<Regexp> MustCompile(string str)
// Island
static Memory<Regexp> MustCompile(string str)

 

// .NET, .NET Standard 2.0
static func MustCompile(_ str: string) -> Memory<Regexp>
// Island
static func MustCompile(_ str: string) -> Memory<Regexp>

 

// .NET, .NET Standard 2.0
func MustCompile(str string) Memory<Regexp>
// Island
func MustCompile(str string) Memory<Regexp>

 

// .NET, .NET Standard 2.0
Shared Function MustCompile(str As string) As Memory<Regexp>
// Island
Shared Function MustCompile(str As string) As Memory<Regexp>

Parameters:

  • str:

MustCompilePOSIX

 

// .NET, .NET Standard 2.0
class method MustCompilePOSIX(str: string): Memory<Regexp>
// Island
class method MustCompilePOSIX(str: string): Memory<Regexp>

 

// .NET, .NET Standard 2.0
static Memory<Regexp> MustCompilePOSIX(string str)
// Island
static Memory<Regexp> MustCompilePOSIX(string str)

 

// .NET, .NET Standard 2.0
static func MustCompilePOSIX(_ str: string) -> Memory<Regexp>
// Island
static func MustCompilePOSIX(_ str: string) -> Memory<Regexp>

 

// .NET, .NET Standard 2.0
func MustCompilePOSIX(str string) Memory<Regexp>
// Island
func MustCompilePOSIX(str string) Memory<Regexp>

 

// .NET, .NET Standard 2.0
Shared Function MustCompilePOSIX(str As string) As Memory<Regexp>
// Island
Shared Function MustCompilePOSIX(str As string) As Memory<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: