System::Text::RegularExpressions Namespace Reference

Classes

class  Capture
 
class  CaptureCollection
 
class  Group
 
class  GroupCollection
 
class  GroupCollectionPtr
 
class  Match
 
class  MatchCollection
 
class  Regex
 

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

 ASPOSECPP_3RD_PARTY_UNCOPYBALE_TYPE_HOLDER (Detail::MatchHolder, MatchHolder, sizeof(Detail::DummyMatchHolder), Detail::DummyMatchHolder, MatchHolderAlias)
 Wrapper to hold MatchHolder class without its including as well as PCRE2. More...
 

Typedef Documentation

◆ CaptureCollectionPtr

◆ CapturePtr

Pointer to single capture object.

◆ GroupPtr

◆ MatchCollectionPtr

◆ MatchEvaluator

using System::Text::RegularExpressions::MatchEvaluator = typedef System::MulticastDelegate<System::String(MatchPtr)>

Delegate type to evaluate match.

◆ 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

◆ ASPOSECPP_3RD_PARTY_UNCOPYBALE_TYPE_HOLDER()

System::Text::RegularExpressions::ASPOSECPP_3RD_PARTY_UNCOPYBALE_TYPE_HOLDER ( Detail::MatchHolder  ,
MatchHolder  ,
sizeof(Detail::DummyMatchHolder)  ,
Detail::DummyMatchHolder  ,
MatchHolderAlias   
)

Wrapper to hold MatchHolder class without its including as well as PCRE2.