Regex

Overview

Location

Instance Methods


constructor (String)

 

constructor(Pattern: String)

 

Regex(String Pattern)

 

init(_ Pattern: String)

 

Regex(String Pattern)

 

Sub New(Pattern As String)

Parameters:

  • Pattern:

constructor (String, RegexOptions)

 

constructor(Pattern: String; PatternOptions: RegexOptions)

 

Regex(String Pattern, RegexOptions PatternOptions)

 

init(_ Pattern: String, _ PatternOptions: RegexOptions)

 

Regex(String Pattern, RegexOptions PatternOptions)

 

Sub New(Pattern As String, PatternOptions As RegexOptions)

Parameters:

  • Pattern:
  • PatternOptions:

FindFirstMatch  mapped

 

method FindFirstMatch(Input: String): Match

 

Match FindFirstMatch(String Input)

 

func FindFirstMatch(_ Input: String) -> Match

 

Match FindFirstMatch(String Input)

 

Function FindFirstMatch(Input As String) As Match

Parameters:

  • Input:

FindMatches  mapped

 

method FindMatches(Input: String): List<Match>

 

List<Match> FindMatches(String Input)

 

func FindMatches(_ Input: String) -> List<Match>

 

List<Match> FindMatches(String Input)

 

Function FindMatches(Input As String) As List<Match>

Parameters:

  • Input:

IsMatch  mapped

 

method IsMatch(Input: String): Boolean

 

Boolean IsMatch(String Input)

 

func IsMatch(_ Input: String) -> Boolean

 

Boolean IsMatch(String Input)

 

Function IsMatch(Input As String) As Boolean

Parameters:

  • Input:

ReplaceMatches  mapped

 

method ReplaceMatches(Input: String; Replacement: String): String

 

String ReplaceMatches(String Input, String Replacement)

 

func ReplaceMatches(_ Input: String, _ Replacement: String) -> String

 

String ReplaceMatches(String Input, String Replacement)

 

Function ReplaceMatches(Input As String, Replacement As String) As String

Parameters:

  • Input:
  • Replacement: