forked from Elara6331/pcre
Fix typo
This commit is contained in:
parent
6d906d55a6
commit
0a0008aef4
58
types.go
58
types.go
@ -6,35 +6,35 @@ type CompileOption uint32
|
|||||||
|
|
||||||
// Compile option bits
|
// Compile option bits
|
||||||
const (
|
const (
|
||||||
Anchored = CompileOption(lib.DPCRE2_ANCHORED)
|
Anchored = CompileOption(lib.DPCRE2_ANCHORED)
|
||||||
AllowEmptyClass = CompileOption(lib.DPCRE2_ALLOW_EMPTY_CLASS)
|
AllowEmptyClass = CompileOption(lib.DPCRE2_ALLOW_EMPTY_CLASS)
|
||||||
AltBsux = CompileOption(lib.DPCRE2_ALT_BSUX)
|
AltBsux = CompileOption(lib.DPCRE2_ALT_BSUX)
|
||||||
AltCircumflex = CompileOption(lib.DPCRE2_ALT_CIRCUMFLEX)
|
AltCircumflex = CompileOption(lib.DPCRE2_ALT_CIRCUMFLEX)
|
||||||
AltVerbnames = CompileOption(lib.DPCRE2_ALT_VERBNAMES)
|
AltVerbnames = CompileOption(lib.DPCRE2_ALT_VERBNAMES)
|
||||||
AutoCallout = CompileOption(lib.DPCRE2_AUTO_CALLOUT)
|
AutoCallout = CompileOption(lib.DPCRE2_AUTO_CALLOUT)
|
||||||
Caseless = CompileOption(lib.DPCRE2_CASELESS)
|
Caseless = CompileOption(lib.DPCRE2_CASELESS)
|
||||||
DollarEndOnly = CompileOption(lib.DPCRE2_DOLLAR_ENDONLY)
|
DollarEndOnly = CompileOption(lib.DPCRE2_DOLLAR_ENDONLY)
|
||||||
DotAll = CompileOption(lib.DPCRE2_DOTALL)
|
DotAll = CompileOption(lib.DPCRE2_DOTALL)
|
||||||
DupNames = CompileOption(lib.DPCRE2_DUPNAMES)
|
DupNames = CompileOption(lib.DPCRE2_DUPNAMES)
|
||||||
EndAnchored = CompileOption(lib.DPCRE2_ENDANCHORED)
|
EndAnchored = CompileOption(lib.DPCRE2_ENDANCHORED)
|
||||||
Extended = CompileOption(lib.DPCRE2_EXTENDED)
|
Extended = CompileOption(lib.DPCRE2_EXTENDED)
|
||||||
FirstLine = CompileOption(lib.DPCRE2_FIRSTLINE)
|
FirstLine = CompileOption(lib.DPCRE2_FIRSTLINE)
|
||||||
Literal = CompileOption(lib.DPCRE2_LITERAL)
|
Literal = CompileOption(lib.DPCRE2_LITERAL)
|
||||||
MatchInvalidUTF = CompileOption(lib.DPCRE2_MATCH_INVALID_UTF)
|
MatchInvalidUTF = CompileOption(lib.DPCRE2_MATCH_INVALID_UTF)
|
||||||
MactchUnsetBackref = CompileOption(lib.DPCRE2_MATCH_UNSET_BACKREF)
|
MatchUnsetBackref = CompileOption(lib.DPCRE2_MATCH_UNSET_BACKREF)
|
||||||
Multiline = CompileOption(lib.DPCRE2_MULTILINE)
|
Multiline = CompileOption(lib.DPCRE2_MULTILINE)
|
||||||
NeverBackslashC = CompileOption(lib.DPCRE2_NEVER_BACKSLASH_C)
|
NeverBackslashC = CompileOption(lib.DPCRE2_NEVER_BACKSLASH_C)
|
||||||
NeverUCP = CompileOption(lib.DPCRE2_NEVER_UCP)
|
NeverUCP = CompileOption(lib.DPCRE2_NEVER_UCP)
|
||||||
NeverUTF = CompileOption(lib.DPCRE2_NEVER_UTF)
|
NeverUTF = CompileOption(lib.DPCRE2_NEVER_UTF)
|
||||||
NoAutoCapture = CompileOption(lib.DPCRE2_NO_AUTO_CAPTURE)
|
NoAutoCapture = CompileOption(lib.DPCRE2_NO_AUTO_CAPTURE)
|
||||||
NoAutoPossess = CompileOption(lib.DPCRE2_NO_AUTO_POSSESS)
|
NoAutoPossess = CompileOption(lib.DPCRE2_NO_AUTO_POSSESS)
|
||||||
NoDotStarAnchor = CompileOption(lib.DPCRE2_NO_DOTSTAR_ANCHOR)
|
NoDotStarAnchor = CompileOption(lib.DPCRE2_NO_DOTSTAR_ANCHOR)
|
||||||
NoStartOptimize = CompileOption(lib.DPCRE2_NO_START_OPTIMIZE)
|
NoStartOptimize = CompileOption(lib.DPCRE2_NO_START_OPTIMIZE)
|
||||||
NoUTFCheck = CompileOption(lib.DPCRE2_NO_UTF_CHECK)
|
NoUTFCheck = CompileOption(lib.DPCRE2_NO_UTF_CHECK)
|
||||||
UCP = CompileOption(lib.DPCRE2_UCP)
|
UCP = CompileOption(lib.DPCRE2_UCP)
|
||||||
Ungreedy = CompileOption(lib.DPCRE2_UNGREEDY)
|
Ungreedy = CompileOption(lib.DPCRE2_UNGREEDY)
|
||||||
UseOffsetLimit = CompileOption(lib.DPCRE2_USE_OFFSET_LIMIT)
|
UseOffsetLimit = CompileOption(lib.DPCRE2_USE_OFFSET_LIMIT)
|
||||||
UTF = CompileOption(lib.DPCRE2_UTF)
|
UTF = CompileOption(lib.DPCRE2_UTF)
|
||||||
)
|
)
|
||||||
|
|
||||||
type CalloutFlags uint32
|
type CalloutFlags uint32
|
||||||
|
Loading…
Reference in New Issue
Block a user