GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
Loading...
Searching...
No Matches
System::Regexp Class Reference

Built-in type that represents a regular expression. More...

Inheritance diagram for System::Regexp:

Public Member Functions

 Regexp ()
 constructor taking no param More...
 
 Regexp (String str)
 Compiles a regexp from the specified string. More...
 
 operator_call ()
 
Bool compile (String input)
 Compiles the input string for the current Regular expression. More...
 
Bool match (String input)
 Returns whether the input string matches the regexp. More...
 
Array getMatch (Int index)
 
String getMatchString ()
 
Int getMatchCount ()
 
Bool isValid ()
 

Public Attributes

Int size
 Getter only. Returns the size of the regexp. More...
 

Detailed Description

Built-in type that represents a regular expression.

Definition at line 4 of file Regexp.cpp.

Constructor & Destructor Documentation

◆ Regexp() [1/2]

System::Regexp::Regexp ( )
inline

constructor taking no param

Definition at line 9 of file Regexp.cpp.

◆ Regexp() [2/2]

System::Regexp::Regexp ( String  str)
inline

Compiles a regexp from the specified string.

Definition at line 12 of file Regexp.cpp.

Member Function Documentation

◆ compile()

Bool System::Regexp::compile ( String  input)

Compiles the input string for the current Regular expression.

◆ getMatch()

Array System::Regexp::getMatch ( Int  index)

◆ getMatchCount()

Int System::Regexp::getMatchCount ( )

◆ getMatchString()

String System::Regexp::getMatchString ( )

◆ isValid()

Bool System::Regexp::isValid ( )

◆ match()

Bool System::Regexp::match ( String  input)

Returns whether the input string matches the regexp.

◆ operator_call()

System::Regexp::operator_call ( )
inline

Definition at line 14 of file Regexp.cpp.

Member Data Documentation

◆ size

Int System::Regexp::size

Getter only. Returns the size of the regexp.

Definition at line 23 of file Regexp.cpp.


The documentation for this class was generated from the following file: