Regexp

Overview

Location

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

Instance Methods


constructor

 

constructor

 

Regexp()

 

init()

constructor (Regexp)

 

constructor(value: Regexp)

 

Regexp(Regexp value)

 

init(_ value: Regexp)

Parameters:

  • value:

Copy

 

method Copy: Reference<Regexp>

 

Reference<Regexp> Copy()

 

func Copy() -> Reference<Regexp>

 

func Copy() Reference<Regexp>

Expand

 

method Expand(dst: Slice<Byte>; template: Slice<Byte>; src: Slice<Byte>; match: Slice<Int64>): Slice<Byte>

 

Slice<Byte> Expand(Slice<Byte> dst, Slice<Byte> template, Slice<Byte> src, Slice<Int64> match)

 

func Expand(_ dst: Slice<Byte>, _ template: Slice<Byte>, _ src: Slice<Byte>, _ match: Slice<Int64>) -> Slice<Byte>

 

func Expand(dst Slice<Byte>, template Slice<Byte>, src Slice<Byte>, match Slice<Int64>) Slice<Byte>

Parameters:

  • dst:
  • template:
  • src:
  • match:

ExpandString

 

method ExpandString(dst: Slice<Byte>; template: string; src: string; match: Slice<Int64>): Slice<Byte>

 

Slice<Byte> ExpandString(Slice<Byte> dst, string template, string src, Slice<Int64> match)

 

func ExpandString(_ dst: Slice<Byte>, _ template: string, _ src: string, _ match: Slice<Int64>) -> Slice<Byte>

 

func ExpandString(dst Slice<Byte>, template string, src string, match Slice<Int64>) Slice<Byte>

Parameters:

  • dst:
  • template:
  • src:
  • match:

Find

 

method Find(b: Slice<Byte>): Slice<Byte>

 

Slice<Byte> Find(Slice<Byte> b)

 

func Find(_ b: Slice<Byte>) -> Slice<Byte>

 

func Find(b Slice<Byte>) Slice<Byte>

Parameters:

  • b:

FindAll

 

method FindAll(b: Slice<Byte>; n: int): Slice<Slice<byte>>

 

Slice<Slice<byte>> FindAll(Slice<Byte> b, int n)

 

func FindAll(_ b: Slice<Byte>, _ n: int) -> Slice<Slice<byte>>

 

func FindAll(b Slice<Byte>, n int) Slice<Slice<byte>>

Parameters:

  • b:
  • n:

FindAllIndex

 

method FindAllIndex(b: Slice<Byte>; n: int): Slice<Slice<int>>

 

Slice<Slice<int>> FindAllIndex(Slice<Byte> b, int n)

 

func FindAllIndex(_ b: Slice<Byte>, _ n: int) -> Slice<Slice<int>>

 

func FindAllIndex(b Slice<Byte>, n int) Slice<Slice<int>>

Parameters:

  • b:
  • n:

FindAllString

 

method FindAllString(s: string; n: int): Slice<string>

 

Slice<string> FindAllString(string s, int n)

 

func FindAllString(_ s: string, _ n: int) -> Slice<string>

 

func FindAllString(s string, n int) Slice<string>

Parameters:

  • s:
  • n:

FindAllStringIndex

 

method FindAllStringIndex(s: string; n: int): Slice<Slice<int>>

 

Slice<Slice<int>> FindAllStringIndex(string s, int n)

 

func FindAllStringIndex(_ s: string, _ n: int) -> Slice<Slice<int>>

 

func FindAllStringIndex(s string, n int) Slice<Slice<int>>

Parameters:

  • s:
  • n:

FindAllStringSubmatch

 

method FindAllStringSubmatch(s: string; n: int): Slice<Slice<string>>

 

Slice<Slice<string>> FindAllStringSubmatch(string s, int n)

 

func FindAllStringSubmatch(_ s: string, _ n: int) -> Slice<Slice<string>>

 

func FindAllStringSubmatch(s string, n int) Slice<Slice<string>>

Parameters:

  • s:
  • n:

FindAllStringSubmatchIndex

 

method FindAllStringSubmatchIndex(s: string; n: int): Slice<Slice<int>>

 

Slice<Slice<int>> FindAllStringSubmatchIndex(string s, int n)

 

func FindAllStringSubmatchIndex(_ s: string, _ n: int) -> Slice<Slice<int>>

 

func FindAllStringSubmatchIndex(s string, n int) Slice<Slice<int>>

Parameters:

  • s:
  • n:

FindAllSubmatch

 

method FindAllSubmatch(b: Slice<Byte>; n: int): Slice<Slice<Slice<byte>>>

 

Slice<Slice<Slice<byte>>> FindAllSubmatch(Slice<Byte> b, int n)

 

func FindAllSubmatch(_ b: Slice<Byte>, _ n: int) -> Slice<Slice<Slice<byte>>>

 

func FindAllSubmatch(b Slice<Byte>, n int) Slice<Slice<Slice<byte>>>

Parameters:

  • b:
  • n:

FindAllSubmatchIndex

 

method FindAllSubmatchIndex(b: Slice<Byte>; n: int): Slice<Slice<int>>

 

Slice<Slice<int>> FindAllSubmatchIndex(Slice<Byte> b, int n)

 

func FindAllSubmatchIndex(_ b: Slice<Byte>, _ n: int) -> Slice<Slice<int>>

 

func FindAllSubmatchIndex(b Slice<Byte>, n int) Slice<Slice<int>>

Parameters:

  • b:
  • n:

FindIndex

 

method FindIndex(b: Slice<Byte>): Slice<Int64>

 

Slice<Int64> FindIndex(Slice<Byte> b)

 

func FindIndex(_ b: Slice<Byte>) -> Slice<Int64>

 

func FindIndex(b Slice<Byte>) Slice<Int64>

Parameters:

  • b:

FindReaderIndex

 

method FindReaderIndex(r: RuneReader): Slice<Int64>

 

Slice<Int64> FindReaderIndex(RuneReader r)

 

func FindReaderIndex(_ r: RuneReader) -> Slice<Int64>

 

func FindReaderIndex(r RuneReader) Slice<Int64>

Parameters:

  • r:

FindReaderSubmatchIndex

 

method FindReaderSubmatchIndex(r: RuneReader): Slice<Int64>

 

Slice<Int64> FindReaderSubmatchIndex(RuneReader r)

 

func FindReaderSubmatchIndex(_ r: RuneReader) -> Slice<Int64>

 

func FindReaderSubmatchIndex(r RuneReader) Slice<Int64>

Parameters:

  • r:

FindString

 

method FindString(s: string): string

 

string FindString(string s)

 

func FindString(_ s: string) -> string

 

func FindString(s string) string

Parameters:

  • s:

FindStringIndex

 

method FindStringIndex(s: string): Slice<Int64>

 

Slice<Int64> FindStringIndex(string s)

 

func FindStringIndex(_ s: string) -> Slice<Int64>

 

func FindStringIndex(s string) Slice<Int64>

Parameters:

  • s:

FindStringSubmatch

 

method FindStringSubmatch(s: string): Slice<string>

 

Slice<string> FindStringSubmatch(string s)

 

func FindStringSubmatch(_ s: string) -> Slice<string>

 

func FindStringSubmatch(s string) Slice<string>

Parameters:

  • s:

FindStringSubmatchIndex

 

method FindStringSubmatchIndex(s: string): Slice<Int64>

 

Slice<Int64> FindStringSubmatchIndex(string s)

 

func FindStringSubmatchIndex(_ s: string) -> Slice<Int64>

 

func FindStringSubmatchIndex(s string) Slice<Int64>

Parameters:

  • s:

FindSubmatch

 

method FindSubmatch(b: Slice<Byte>): Slice<Slice<byte>>

 

Slice<Slice<byte>> FindSubmatch(Slice<Byte> b)

 

func FindSubmatch(_ b: Slice<Byte>) -> Slice<Slice<byte>>

 

func FindSubmatch(b Slice<Byte>) Slice<Slice<byte>>

Parameters:

  • b:

FindSubmatchIndex

 

method FindSubmatchIndex(b: Slice<Byte>): Slice<Int64>

 

Slice<Int64> FindSubmatchIndex(Slice<Byte> b)

 

func FindSubmatchIndex(_ b: Slice<Byte>) -> Slice<Int64>

 

func FindSubmatchIndex(b Slice<Byte>) Slice<Int64>

Parameters:

  • b:

LiteralPrefix

 

method LiteralPrefix: tuple of (prefix: string, complete: Boolean)

 

(string prefix, Boolean complete) LiteralPrefix()

 

func LiteralPrefix() -> (prefix:string, complete:Boolean)

 

func LiteralPrefix() (prefix string, complete Boolean)

Longest

 

method Longest

 

void Longest()

 

func Longest()

 

func Longest()

Match

 

method Match(b: Slice<Byte>): bool

 

bool Match(Slice<Byte> b)

 

func Match(_ b: Slice<Byte>) -> bool

 

func Match(b Slice<Byte>) bool

Parameters:

  • b:

MatchReader

 

method MatchReader(r: RuneReader): bool

 

bool MatchReader(RuneReader r)

 

func MatchReader(_ r: RuneReader) -> bool

 

func MatchReader(r RuneReader) bool

Parameters:

  • r:

MatchString

 

method MatchString(s: string): bool

 

bool MatchString(string s)

 

func MatchString(_ s: string) -> bool

 

func MatchString(s string) bool

Parameters:

  • s:

NumSubexp

 

method NumSubexp: int

 

int NumSubexp()

 

func NumSubexp() -> int

 

func NumSubexp() int

ReplaceAll

 

method ReplaceAll(src: Slice<Byte>; repl: Slice<Byte>): Slice<Byte>

 

Slice<Byte> ReplaceAll(Slice<Byte> src, Slice<Byte> repl)

 

func ReplaceAll(_ src: Slice<Byte>, _ repl: Slice<Byte>) -> Slice<Byte>

 

func ReplaceAll(src Slice<Byte>, repl Slice<Byte>) Slice<Byte>

Parameters:

  • src:
  • repl:

ReplaceAllFunc

 

method ReplaceAllFunc(src: Slice<Byte>; repl: $DelegateRes_arg0$_<Slice<Byte>, Slice<Byte>>): Slice<Byte>

 

Slice<Byte> ReplaceAllFunc(Slice<Byte> src, $DelegateRes_arg0$_<Slice<Byte>, Slice<Byte>> repl)

 

func ReplaceAllFunc(_ src: Slice<Byte>, _ repl: $DelegateRes_arg0$_<Slice<Byte>, Slice<Byte>>) -> Slice<Byte>

 

func ReplaceAllFunc(src Slice<Byte>, repl $DelegateRes_arg0$_<Slice<Byte>, Slice<Byte>>) Slice<Byte>

Parameters:

  • src:
  • repl:

ReplaceAllLiteral

 

method ReplaceAllLiteral(src: Slice<Byte>; repl: Slice<Byte>): Slice<Byte>

 

Slice<Byte> ReplaceAllLiteral(Slice<Byte> src, Slice<Byte> repl)

 

func ReplaceAllLiteral(_ src: Slice<Byte>, _ repl: Slice<Byte>) -> Slice<Byte>

 

func ReplaceAllLiteral(src Slice<Byte>, repl Slice<Byte>) Slice<Byte>

Parameters:

  • src:
  • repl:

ReplaceAllLiteralString

 

method ReplaceAllLiteralString(src: string; repl: string): string

 

string ReplaceAllLiteralString(string src, string repl)

 

func ReplaceAllLiteralString(_ src: string, _ repl: string) -> string

 

func ReplaceAllLiteralString(src string, repl string) string

Parameters:

  • src:
  • repl:

ReplaceAllString

 

method ReplaceAllString(src: string; repl: string): string

 

string ReplaceAllString(string src, string repl)

 

func ReplaceAllString(_ src: string, _ repl: string) -> string

 

func ReplaceAllString(src string, repl string) string

Parameters:

  • src:
  • repl:

ReplaceAllStringFunc

 

method ReplaceAllStringFunc(src: string; repl: $DelegateRes_arg0$_<string, string>): string

 

string ReplaceAllStringFunc(string src, $DelegateRes_arg0$_<string, string> repl)

 

func ReplaceAllStringFunc(_ src: string, _ repl: $DelegateRes_arg0$_<string, string>) -> string

 

func ReplaceAllStringFunc(src string, repl $DelegateRes_arg0$_<string, string>) string

Parameters:

  • src:
  • repl:

Split

 

method Split(s: string; n: int): Slice<string>

 

Slice<string> Split(string s, int n)

 

func Split(_ s: string, _ n: int) -> Slice<string>

 

func Split(s string, n int) Slice<string>

Parameters:

  • s:
  • n:

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

SubexpNames

 

method SubexpNames: Slice<string>

 

Slice<string> SubexpNames()

 

func SubexpNames() -> Slice<string>

 

func SubexpNames() Slice<string>