The OpenD Programming Language

ctRegex

Compile regular expression using CTFE and generate optimized native machine code for matching it.

enum ctRegex (
alias pattern
string flags = ""
)

Parameters

pattern

Regular expression

flags

The _attributes (g, i, m, s and x accepted)

Return Value

StaticRegex object for faster matching.

Meta