This commit is contained in:
Elara 2023-07-26 15:53:58 -07:00
parent 6d906d55a6
commit 0a0008aef4

View File

@ -6,35 +6,35 @@ type CompileOption uint32
// Compile option bits
const (
Anchored = CompileOption(lib.DPCRE2_ANCHORED)
AllowEmptyClass = CompileOption(lib.DPCRE2_ALLOW_EMPTY_CLASS)
AltBsux = CompileOption(lib.DPCRE2_ALT_BSUX)
AltCircumflex = CompileOption(lib.DPCRE2_ALT_CIRCUMFLEX)
AltVerbnames = CompileOption(lib.DPCRE2_ALT_VERBNAMES)
AutoCallout = CompileOption(lib.DPCRE2_AUTO_CALLOUT)
Caseless = CompileOption(lib.DPCRE2_CASELESS)
DollarEndOnly = CompileOption(lib.DPCRE2_DOLLAR_ENDONLY)
DotAll = CompileOption(lib.DPCRE2_DOTALL)
DupNames = CompileOption(lib.DPCRE2_DUPNAMES)
EndAnchored = CompileOption(lib.DPCRE2_ENDANCHORED)
Extended = CompileOption(lib.DPCRE2_EXTENDED)
FirstLine = CompileOption(lib.DPCRE2_FIRSTLINE)
Literal = CompileOption(lib.DPCRE2_LITERAL)
MatchInvalidUTF = CompileOption(lib.DPCRE2_MATCH_INVALID_UTF)
MactchUnsetBackref = CompileOption(lib.DPCRE2_MATCH_UNSET_BACKREF)
Multiline = CompileOption(lib.DPCRE2_MULTILINE)
NeverBackslashC = CompileOption(lib.DPCRE2_NEVER_BACKSLASH_C)
NeverUCP = CompileOption(lib.DPCRE2_NEVER_UCP)
NeverUTF = CompileOption(lib.DPCRE2_NEVER_UTF)
NoAutoCapture = CompileOption(lib.DPCRE2_NO_AUTO_CAPTURE)
NoAutoPossess = CompileOption(lib.DPCRE2_NO_AUTO_POSSESS)
NoDotStarAnchor = CompileOption(lib.DPCRE2_NO_DOTSTAR_ANCHOR)
NoStartOptimize = CompileOption(lib.DPCRE2_NO_START_OPTIMIZE)
NoUTFCheck = CompileOption(lib.DPCRE2_NO_UTF_CHECK)
UCP = CompileOption(lib.DPCRE2_UCP)
Ungreedy = CompileOption(lib.DPCRE2_UNGREEDY)
UseOffsetLimit = CompileOption(lib.DPCRE2_USE_OFFSET_LIMIT)
UTF = CompileOption(lib.DPCRE2_UTF)
Anchored = CompileOption(lib.DPCRE2_ANCHORED)
AllowEmptyClass = CompileOption(lib.DPCRE2_ALLOW_EMPTY_CLASS)
AltBsux = CompileOption(lib.DPCRE2_ALT_BSUX)
AltCircumflex = CompileOption(lib.DPCRE2_ALT_CIRCUMFLEX)
AltVerbnames = CompileOption(lib.DPCRE2_ALT_VERBNAMES)
AutoCallout = CompileOption(lib.DPCRE2_AUTO_CALLOUT)
Caseless = CompileOption(lib.DPCRE2_CASELESS)
DollarEndOnly = CompileOption(lib.DPCRE2_DOLLAR_ENDONLY)
DotAll = CompileOption(lib.DPCRE2_DOTALL)
DupNames = CompileOption(lib.DPCRE2_DUPNAMES)
EndAnchored = CompileOption(lib.DPCRE2_ENDANCHORED)
Extended = CompileOption(lib.DPCRE2_EXTENDED)
FirstLine = CompileOption(lib.DPCRE2_FIRSTLINE)
Literal = CompileOption(lib.DPCRE2_LITERAL)
MatchInvalidUTF = CompileOption(lib.DPCRE2_MATCH_INVALID_UTF)
MatchUnsetBackref = CompileOption(lib.DPCRE2_MATCH_UNSET_BACKREF)
Multiline = CompileOption(lib.DPCRE2_MULTILINE)
NeverBackslashC = CompileOption(lib.DPCRE2_NEVER_BACKSLASH_C)
NeverUCP = CompileOption(lib.DPCRE2_NEVER_UCP)
NeverUTF = CompileOption(lib.DPCRE2_NEVER_UTF)
NoAutoCapture = CompileOption(lib.DPCRE2_NO_AUTO_CAPTURE)
NoAutoPossess = CompileOption(lib.DPCRE2_NO_AUTO_POSSESS)
NoDotStarAnchor = CompileOption(lib.DPCRE2_NO_DOTSTAR_ANCHOR)
NoStartOptimize = CompileOption(lib.DPCRE2_NO_START_OPTIMIZE)
NoUTFCheck = CompileOption(lib.DPCRE2_NO_UTF_CHECK)
UCP = CompileOption(lib.DPCRE2_UCP)
Ungreedy = CompileOption(lib.DPCRE2_UNGREEDY)
UseOffsetLimit = CompileOption(lib.DPCRE2_USE_OFFSET_LIMIT)
UTF = CompileOption(lib.DPCRE2_UTF)
)
type CalloutFlags uint32