System::Text::RegularExpressions Namespace Reference

Classes

class  Capture
 Result of single subexpression matching. More...
 
class  CaptureCollection
 List of captures done by single capturing group. More...
 
class  Group
 Result of matching done by single capturing group. More...
 
class  GroupCollection
 List of capture groups in a single match. More...
 
class  GroupCollectionPtr
 Group collection pointer. More...
 
class  Match
 Single match of regexp over string. More...
 
class  MatchCollection
 Collection of matches done by repeatedly applying regexp to string. More...
 
class  Regex
 Regular expression that follows C#-like syntax. More...
 

Typedefs

typedef std::shared_ptr< const UnicodeString > UStringPtr
 Shared UnicodeString to avoid copying. More...
 
typedef SharedPtr< CaptureCapturePtr
 Pointer to single capture object. More...
 
typedef SharedPtr< CaptureCollectionCaptureCollectionPtr
 Pointer to capture collection. More...
 
typedef SharedPtr< GroupGroupPtr
 Pointer to group. More...
 
typedef System::SharedPtr< RegexRegexPtr
 Regex pointer. More...
 
typedef SharedPtr< MatchMatchPtr
 Match pointer. More...
 
typedef SharedPtr< MatchCollectionMatchCollectionPtr
 Match collection pointer. More...
 
using MatchEvaluator = System::MulticastDelegate< System::String(MatchPtr)>
 Delegate type to evaluate match. More...
 

Enumerations

enum  RegexOptions {
  RegexOptions::None =0, RegexOptions::Compiled =1, RegexOptions::CultureInvariant =2, RegexOptions::ECMAScript =4,
  RegexOptions::ExplicitCapture =8, RegexOptions::IgnoreCase =16, RegexOptions::IgnorePatternWhitespace =32, RegexOptions::Multiline =64,
  RegexOptions::RightToLeft =128, RegexOptions::Singleline =256
}
 Regex options. More...
 

Functions

 DECLARE_ENUM_OPERATORS (System::Text::RegularExpressions::RegexOptions)
 

Typedef Documentation

◆ CaptureCollectionPtr

◆ CapturePtr

Pointer to single capture object.

◆ GroupPtr

◆ MatchCollectionPtr

◆ MatchEvaluator

◆ MatchPtr

◆ RegexPtr

◆ UStringPtr

typedef std::shared_ptr<const UnicodeString> System::Text::RegularExpressions::UStringPtr

Shared UnicodeString to avoid copying.

Enumeration Type Documentation

◆ RegexOptions

Regex options.

Enumerator
None 

Default behavior.

Compiled 

Compile regex for performance. Always done by default.

CultureInvariant 

Use culture-invariant matching. Ignored.

ECMAScript 

Use ECMAScript syntax. Ignored.

ExplicitCapture 

Explicit capturing only. Ignored.

IgnoreCase 

Ignore case when matching.

IgnorePatternWhitespace 

Ignore whitespaces in pattern. Unsupported.

Multiline 

Treat '^' and '$' as beginning and end of line, not whole string.

RightToLeft 

Right-to-left matching. Unsupported.

Singleline 

Makes '.' match any character without exceptions (normally, newline characters are not matched).

Function Documentation

◆ DECLARE_ENUM_OPERATORS()

System::Text::RegularExpressions::DECLARE_ENUM_OPERATORS ( System::Text::RegularExpressions::RegexOptions  )