Regex

Overview

Location

Instance Methods


constructor (String)

 

constructor(Pattern: String)

 

Regex(String Pattern)

 

init(_ Pattern: String)

 

Regex(String Pattern)

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)

Parameters:

  • Pattern:
  • PatternOptions:

FindFirstMatch  mapped

 

method FindFirstMatch(Input: String): Match

 

Match FindFirstMatch(String Input)

 

func FindFirstMatch(_ Input: String) -> Match

 

Match FindFirstMatch(String Input)

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)

Parameters:

  • Input:

IsMatch  mapped

 

method IsMatch(Input: String): Boolean

 

Boolean IsMatch(String Input)

 

func IsMatch(_ Input: String) -> Boolean

 

Boolean IsMatch(String Input)

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)

Parameters:

  • Input:
  • Replacement: