Versions in this module Expand all Collapse all v1 v1.0.1 Oct 28, 2021 v1.0.0 Oct 16, 2021 Changes in this version + const ALLOW_EMPTY_CLASS + const ALT_BSUX + const ALT_CIRCUMFLEX + const ALT_VERBNAMES + const ANCHORED + const AUTO_CALLOUT + const BSR_ANYCRLF + const BSR_UNICODE + const CALLOUT_BACKTRACK + const CALLOUT_STARTMATCH + const CASELESS + const CONFIG_BSR + const CONFIG_COMPILED_WIDTHS + const CONFIG_DEPTHLIMIT + const CONFIG_HEAPLIMIT + const CONFIG_JIT + const CONFIG_JITTARGET + const CONFIG_LINKSIZE + const CONFIG_MATCHLIMIT + const CONFIG_NEVER_BACKSLASH_C + const CONFIG_NEWLINE + const CONFIG_PARENSLIMIT + const CONFIG_RECURSIONLIMIT + const CONFIG_STACKRECURSE + const CONFIG_TABLES_LENGTH + const CONFIG_UNICODE + const CONFIG_UNICODE_VERSION + const CONFIG_VERSION + const CONVERT_GLOB + const CONVERT_GLOB_NO_STARSTAR + const CONVERT_GLOB_NO_WILD_SEPARATOR + const CONVERT_NO_UTF_CHECK + const CONVERT_POSIX_BASIC + const CONVERT_POSIX_EXTENDED + const CONVERT_UTF + const COPY_MATCHED_SUBJECT + const DFA_RESTART + const DFA_SHORTEST + const DOLLAR_ENDONLY + const DOTALL + const DUPNAMES + const ENDANCHORED + const ERROR_ALPHA_ASSERTION_UNKNOWN + const ERROR_BACKSLASH_C_CALLER_DISABLED + const ERROR_BACKSLASH_C_LIBRARY_DISABLED + const ERROR_BACKSLASH_C_SYNTAX + const ERROR_BACKSLASH_G_SYNTAX + const ERROR_BACKSLASH_K_IN_LOOKAROUND + const ERROR_BACKSLASH_K_SYNTAX + const ERROR_BACKSLASH_N_IN_CLASS + const ERROR_BACKSLASH_O_MISSING_BRACE + const ERROR_BACKSLASH_U_CODE_POINT_TOO_BIG + const ERROR_BADDATA + const ERROR_BADMAGIC + const ERROR_BADMODE + const ERROR_BADOFFSET + const ERROR_BADOFFSETLIMIT + const ERROR_BADOPTION + const ERROR_BADREPESCAPE + const ERROR_BADREPLACEMENT + const ERROR_BADSERIALIZEDDATA + const ERROR_BADSUBSPATTERN + const ERROR_BADSUBSTITUTION + const ERROR_BADUTFOFFSET + const ERROR_BAD_LITERAL_OPTIONS + const ERROR_BAD_OPTIONS + const ERROR_BAD_RELATIVE_REFERENCE + const ERROR_BAD_SUBPATTERN_REFERENCE + const ERROR_CALLOUT + const ERROR_CALLOUT_BAD_STRING_DELIMITER + const ERROR_CALLOUT_NO_STRING_DELIMITER + const ERROR_CALLOUT_NUMBER_TOO_BIG + const ERROR_CALLOUT_STRING_TOO_LONG + const ERROR_CLASS_INVALID_RANGE + const ERROR_CLASS_RANGE_ORDER + const ERROR_CODE_POINT_TOO_BIG + const ERROR_CONDITION_ASSERTION_EXPECTED + const ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED + const ERROR_CONVERT_SYNTAX + const ERROR_DEFINE_TOO_MANY_BRANCHES + const ERROR_DEPTHLIMIT + const ERROR_DFA_BADRESTART + const ERROR_DFA_RECURSE + const ERROR_DFA_UCOND + const ERROR_DFA_UFUNC + const ERROR_DFA_UINVALID_UTF + const ERROR_DFA_UITEM + const ERROR_DFA_WSSIZE + const ERROR_DUPLICATE_SUBPATTERN_NAME + const ERROR_END_BACKSLASH + const ERROR_END_BACKSLASH_C + const ERROR_ESCAPE_INVALID_IN_CLASS + const ERROR_ESCAPE_INVALID_IN_VERB + const ERROR_HEAPLIMIT + const ERROR_HEAP_FAILED + const ERROR_INTERNAL + const ERROR_INTERNAL_BAD_CODE + const ERROR_INTERNAL_BAD_CODE_AUTO_POSSESS + const ERROR_INTERNAL_BAD_CODE_IN_SKIP + const ERROR_INTERNAL_BAD_CODE_LOOKBEHINDS + const ERROR_INTERNAL_CODE_OVERFLOW + const ERROR_INTERNAL_DUPMATCH + const ERROR_INTERNAL_MISSING_SUBPATTERN + const ERROR_INTERNAL_OVERRAN_WORKSPACE + const ERROR_INTERNAL_PARSED_OVERFLOW + const ERROR_INTERNAL_STUDY_ERROR + const ERROR_INTERNAL_UNEXPECTED_REPEAT + const ERROR_INTERNAL_UNKNOWN_NEWLINE + const ERROR_INVALID_AFTER_PARENS_QUERY + const ERROR_INVALID_HEXADECIMAL + const ERROR_INVALID_HYPHEN_IN_OPTIONS + const ERROR_INVALID_OCTAL + const ERROR_INVALID_SUBPATTERN_NAME + const ERROR_JIT_BADOPTION + const ERROR_JIT_STACKLIMIT + const ERROR_LOOKBEHIND_INVALID_BACKSLASH_C + const ERROR_LOOKBEHIND_NOT_FIXED_LENGTH + const ERROR_LOOKBEHIND_TOO_COMPLICATED + const ERROR_LOOKBEHIND_TOO_LONG + const ERROR_MALFORMED_UNICODE_PROPERTY + const ERROR_MARK_MISSING_ARGUMENT + const ERROR_MATCHLIMIT + const ERROR_MISSING_CALLOUT_CLOSING + const ERROR_MISSING_CLOSING_PARENTHESIS + const ERROR_MISSING_COMMENT_CLOSING + const ERROR_MISSING_CONDITION_CLOSING + const ERROR_MISSING_NAME_TERMINATOR + const ERROR_MISSING_OCTAL_OR_HEX_DIGITS + const ERROR_MISSING_SQUARE_BRACKET + const ERROR_MIXEDTABLES + const ERROR_NOMATCH + const ERROR_NOMEMORY + const ERROR_NOSUBSTRING + const ERROR_NOUNIQUESUBSTRING + const ERROR_NO_SURROGATES_IN_UTF16 + const ERROR_NULL + const ERROR_NULL_PATTERN + const ERROR_OCTAL_BYTE_TOO_BIG + const ERROR_PARENS_QUERY_R_MISSING_CLOSING + const ERROR_PARENTHESES_NEST_TOO_DEEP + const ERROR_PARENTHESES_STACK_CHECK + const ERROR_PARTIAL + const ERROR_PATTERN_STRING_TOO_LONG + const ERROR_PATTERN_TOO_COMPLICATED + const ERROR_PATTERN_TOO_LARGE + const ERROR_POSIX_CLASS_NOT_IN_CLASS + const ERROR_POSIX_NO_SUPPORT_COLLATING + const ERROR_QUANTIFIER_INVALID + const ERROR_QUANTIFIER_OUT_OF_ORDER + const ERROR_QUANTIFIER_TOO_BIG + const ERROR_QUERY_BARJX_NEST_TOO_DEEP + const ERROR_RECURSELOOP + const ERROR_RECURSIONLIMIT + const ERROR_REPMISSINGBRACE + const ERROR_SCRIPT_RUN_NOT_AVAILABLE + const ERROR_SUBPATTERN_NAMES_MISMATCH + const ERROR_SUBPATTERN_NAME_EXPECTED + const ERROR_SUBPATTERN_NAME_TOO_LONG + const ERROR_SUBPATTERN_NUMBER_TOO_BIG + const ERROR_SUPPORTED_ONLY_IN_UNICODE + const ERROR_TOOMANYREPLACE + const ERROR_TOO_MANY_CAPTURES + const ERROR_TOO_MANY_CONDITION_BRANCHES + const ERROR_TOO_MANY_NAMED_SUBPATTERNS + const ERROR_UCP_IS_DISABLED + const ERROR_UNAVAILABLE + const ERROR_UNICODE_DISALLOWED_CODE_POINT + const ERROR_UNICODE_NOT_SUPPORTED + const ERROR_UNICODE_PROPERTIES_UNAVAILABLE + const ERROR_UNKNOWN_ESCAPE + const ERROR_UNKNOWN_POSIX_CLASS + const ERROR_UNKNOWN_UNICODE_PROPERTY + const ERROR_UNMATCHED_CLOSING_PARENTHESIS + const ERROR_UNRECOGNIZED_AFTER_QUERY_P + const ERROR_UNSET + const ERROR_UNSUPPORTED_ESCAPE_SEQUENCE + const ERROR_UTF16_ERR1 + const ERROR_UTF16_ERR2 + const ERROR_UTF16_ERR3 + const ERROR_UTF32_ERR1 + const ERROR_UTF32_ERR2 + const ERROR_UTF8_ERR1 + const ERROR_UTF8_ERR10 + const ERROR_UTF8_ERR11 + const ERROR_UTF8_ERR12 + const ERROR_UTF8_ERR13 + const ERROR_UTF8_ERR14 + const ERROR_UTF8_ERR15 + const ERROR_UTF8_ERR16 + const ERROR_UTF8_ERR17 + const ERROR_UTF8_ERR18 + const ERROR_UTF8_ERR19 + const ERROR_UTF8_ERR2 + const ERROR_UTF8_ERR20 + const ERROR_UTF8_ERR21 + const ERROR_UTF8_ERR3 + const ERROR_UTF8_ERR4 + const ERROR_UTF8_ERR5 + const ERROR_UTF8_ERR6 + const ERROR_UTF8_ERR7 + const ERROR_UTF8_ERR8 + const ERROR_UTF8_ERR9 + const ERROR_UTF_IS_DISABLED + const ERROR_VERB_ARGUMENT_NOT_ALLOWED + const ERROR_VERB_NAME_TOO_LONG + const ERROR_VERB_UNKNOWN + const ERROR_VERSION_CONDITION_SYNTAX + const ERROR_ZERO_RELATIVE_REFERENCE + const EXTENDED + const EXTENDED_MORE + const EXTRA_ALLOW_LOOKAROUND_BSK + const EXTRA_ALLOW_SURROGATE_ESCAPES + const EXTRA_ALT_BSUX + const EXTRA_BAD_ESCAPE_IS_LITERAL + const EXTRA_ESCAPED_CR_IS_LF + const EXTRA_MATCH_LINE + const EXTRA_MATCH_WORD + const FIRSTLINE + const INFO_ALLOPTIONS + const INFO_ARGOPTIONS + const INFO_BACKREFMAX + const INFO_BSR + const INFO_CAPTURECOUNT + const INFO_DEPTHLIMIT + const INFO_EXTRAOPTIONS + const INFO_FIRSTBITMAP + const INFO_FIRSTCODETYPE + const INFO_FIRSTCODEUNIT + const INFO_FRAMESIZE + const INFO_HASBACKSLASHC + const INFO_HASCRORLF + const INFO_HEAPLIMIT + const INFO_JCHANGED + const INFO_JITSIZE + const INFO_LASTCODETYPE + const INFO_LASTCODEUNIT + const INFO_MATCHEMPTY + const INFO_MATCHLIMIT + const INFO_MAXLOOKBEHIND + const INFO_MINLENGTH + const INFO_NAMECOUNT + const INFO_NAMEENTRYSIZE + const INFO_NAMETABLE + const INFO_NEWLINE + const INFO_RECURSIONLIMIT + const INFO_SIZE + const JIT_COMPLETE + const JIT_INVALID_UTF + const JIT_PARTIAL_HARD + const JIT_PARTIAL_SOFT + const LITERAL + const MAJOR + const MATCH_INVALID_UTF + const MATCH_UNSET_BACKREF + const MINOR + const MULTILINE + const NEVER_BACKSLASH_C + const NEVER_UCP + const NEVER_UTF + const NEWLINE_ANY + const NEWLINE_ANYCRLF + const NEWLINE_CR + const NEWLINE_CRLF + const NEWLINE_LF + const NEWLINE_NUL + const NOTBOL + const NOTEMPTY + const NOTEMPTY_ATSTART + const NOTEOL + const NO_AUTO_CAPTURE + const NO_AUTO_POSSESS + const NO_DOTSTAR_ANCHOR + const NO_JIT + const NO_START_OPTIMIZE + const NO_UTF_CHECK + const PARTIAL_HARD + const PARTIAL_SOFT + const SUBSTITUTE_EXTENDED + const SUBSTITUTE_GLOBAL + const SUBSTITUTE_LITERAL + const SUBSTITUTE_MATCHED + const SUBSTITUTE_OVERFLOW_LENGTH + const SUBSTITUTE_REPLACEMENT_ONLY + const SUBSTITUTE_UNKNOWN_UNSET + const SUBSTITUTE_UNSET_EMPTY + const UCP + const UNGREEDY + const USE_OFFSET_LIMIT + const UTF + type CompileError struct + Message string + Offset int + Pattern string + func (e *CompileError) Error() string + type Matcher struct + func (m *Matcher) Exec(subject []byte, flags int) int + func (m *Matcher) ExecString(subject string, flags int) int + func (m *Matcher) Extract() [][]byte + func (m *Matcher) ExtractString() []string + func (m *Matcher) Group(group int) []byte + func (m *Matcher) GroupIndices(group int) []int + func (m *Matcher) GroupString(group int) string + func (m *Matcher) Groups() int + func (m *Matcher) Index() (loc []int) + func (m *Matcher) Init(re *Regexp) + func (m *Matcher) Match(subject []byte, flags int) bool + func (m *Matcher) MatchString(subject string, flags int) bool + func (m *Matcher) Matches() bool + func (m *Matcher) Named(group string) ([]byte, error) + func (m *Matcher) NamedPresent(group string) (bool, error) + func (m *Matcher) NamedString(group string) (string, error) + func (m *Matcher) Partial() bool + func (m *Matcher) Present(group int) bool + func (m *Matcher) Reset(re Regexp, subject []byte, flags int) bool + func (m *Matcher) ResetString(re Regexp, subject string, flags int) bool + type Regexp struct + func Compile(pattern string, flags int) (Regexp, error) + func MustCompile(pattern string, flags int) (re Regexp) + func (re *Regexp) FindIndex(bytes []byte, flags int) (loc []int) + func (re Regexp) Groups() int + func (re Regexp) Matcher(subject []byte, flags int) (m *Matcher) + func (re Regexp) MatcherString(subject string, flags int) (m *Matcher) + func (re Regexp) NewMatcher() (m *Matcher) + func (re Regexp) ReplaceAll(bytes, repl []byte, flags int) []byte + func (re Regexp) ReplaceAllString(in, repl string, flags int) string