MCPcopy Create free account

hub / github.com/dlclark/regexp2 / types & classes

Types & classes96 in github.com/dlclark/regexp2

↓ 9 callersFuncTypecompileOptionFunc
func(*compileConfig)
options.go:76
↓ 6 callersTypeAliasInstOp
similar to prog.go in the go regex package...also with comment 'may not belong in this package' File provides operator constants for use by the Builde
syntax/code.go:23
↓ 6 callersTypeAliasRegexOptions
syntax/parser.go:13
↓ 4 callersTypeAliasfasttime
fasttime holds a time value (ticks since clock initialization)
fastclock.go:10
↓ 1 callersTypeAliasAnchorLoc
syntax/prefix.go:771
↓ 1 callersTypeAliasNodeType
syntax/tree.go:70
↓ 1 callersTypeAliassingleRangeSorter
syntax/charclass.go:918
StructAsciiSearchValues
helpers/searchvalues.go:10
StructBmPrefix
BmPrefix precomputes the Boyer-Moore tables for fast string scanning. These tables allow you to scan for the first occurrence of a string within a lar
syntax/prefix.go:404
StructCapture
Capture is a single capture of text within the larger original string
match.go:48
StructCategory
syntax/charclass.go:29
StructCharClassAnalysisResults
syntax/charclass.go:1562
StructCharSet
CharSet combines start-end rune ranges and unicode categories representing a set of characters
syntax/charclass.go:15
StructCode
syntax/code.go:112
InterfaceCompileOption
CompileOption configures Compile and MustCompile.
options.go:64
StructDispatchTable
DispatchTable maps disjoint character sets to branch indices. Larger tables use a direct ASCII lookup, small tables use compact masks, and non-ASCII r
syntax/code.go:138
StructError
An Error describes a failure to parse a regular expression and gives the offending expression.
syntax/parser.go:53
TypeAliasErrorCode
An ErrorCode describes a failure to parse a regular expression.
syntax/parser.go:67
TypeAliasFindNextStartingPositionMode
syntax/optimizations.go:123
StructFindOptimizations
syntax/optimizations.go:10
StructFixedDistanceLiteral
syntax/optimizations.go:55
StructFixedDistanceSet
syntax/optimizations.go:46
StructGroup
Group is an explicit or implit (group 0) matched group within the pattern
match.go:40
StructLiteralAfterLoop
syntax/optimizations.go:34
StructMatch
Match is a single regex result match that contains groups and repeated captures -Groups -Capture
match.go:14
FuncTypeMatchEvaluator
MatchEvaluator is a function that takes a match and returns a replacement string to be used
replace.go:20
StructMatchView
MatchView provides the capture positions of a match during FindRunesMatches. It borrows the engine's storage and is valid only until the callback retu
matchview.go:9
InterfaceMatcher
Matcher is the common matching interface implemented by regexp.Regexp and this package's Regexp adapter. It includes the standard-library matching su
compat/interface.go:13
StructOptimizationOptions
OptimizationOptions controls runtime limits, optional caches, and compile-time fast paths. For MaxBacktrackingStackSize, negative values allow unboun
options.go:47
StructParseOptions
syntax/parser.go:157
StructPrefix
syntax/prefix.go:11
StructRegexNode
It is built into a parsed tree for a regular expression. Implementation notes: Since the node tree is a temporary data structure only used during com
syntax/tree.go:58
TypeAliasRegexOptions
RegexOptions impact the runtime and parsing behavior for each specific regex. They are setable in code as well as in the regex pattern itself.
options.go:20
StructRegexTree
syntax/tree.go:17
StructRegexp
Regexp is the representation of a compiled regular expression. A Regexp is safe for concurrent use by multiple goroutines.
regexp.go:36
StructRegexp
Regexp adapts a regexp2.Regexp to the matching method signatures of regexp.Regexp. The wrapped regexp2 engine can return match-time errors, most comm
compat/regexp.go:18
StructReplacerData
syntax/replacerdata.go:8
StructRequiredLandmark
syntax/optimizations.go:80
StructRequiredLandmarkAlternative
syntax/optimizations.go:87
StructRequiredLandmarkChain
syntax/optimizations.go:62
StructRuneSearchValues
helpers/searchvalues.go:93
StructRunner
runner.go:17
StructRuntimeEngineData
regexp_codegen.go:7
StructSingleRange
syntax/charclass.go:54
StructStartingLiteral
syntax/tree.go:2434
FuncTypeStringPrefixFilter
StringPrefixFilter optionally searches string input before the engine decodes it to runes. It returns a byte index for a candidate match start, or ok=
stringprefixfilter.go:23
StructStringSearchValues
helpers/searchvalues.go:134
StructasciiBitmap
syntax/charclass.go:25
StructasciiSetStringScanner
stringprefixfilter.go:75
StructasciiStringSetPrefixFilter
stringprefixfilter.go:247
StructatomicTime
fastclock.go:141
Structbenchmark
regexp_performance_test.go:542
InterfacebyteRanger
regexp_test.go:437
StructcacheKey
regexp_codegen.go:26
StructcaptureAlternative
syntax/parser.go:152
StructcaptureRange
matchview_test.go:163
StructcharCategory
Keep the public Category representation and serialized form unchanged. Resolve membership data when constructing or deserializing a category so matchi
syntax/charclass.go:38
StructcompileConfig
options.go:68
Structd
regexp_test.go:470
Structdatabase
internal/unicodegen/main.go:53
StructdecodedInput
decodedInput is the engine's rune view of a string. When the pattern cannot look behind a candidate start, the slice may begin at that candidate inste
decode.go:12
StructdispatchInfo
syntax/writer.go:73
StructecmaPropertyCase
regexp_ecma_test.go:1034
StructemptyEngine
regexp_codegen_test.go:8
StructequalASCIIPrefixSearch
equalASCIIPrefixSearch searches several equal-length prefixes in parallel using one bit per character. Equal lengths ensure that the first completed p
prefixsearch.go:7
Structfastclock
fastclock provides a fast clock implementation. A background goroutine periodically stores the current time into an atomic variable. A deadline can
fastclock.go:24
TypeAliasgraphemeBreakClass
syntax/grapheme.go:5
StructgraphemeForwardState
syntax/grapheme.go:77
StructgraphemeProperties
syntax/grapheme.go:33
StructgroupWant
regexp_test.go:366
StructindexCase
regexp_test.go:959
TypeAliasindicConjunctBreakClass
syntax/grapheme.go:24
Structinterval
internal/unicodegen/main.go:50
StructlcMap
syntax/charclass.go:1096
StructmatchRange
regexp_test.go:2642
StructmatchText
match.go:59
StructnamedRE
regexp_pool_test.go:514
Structparser
syntax/parser.go:118
StructpooledSliceBuffers
bufferpool.go:9
TypeAliasranges
internal/unicodegen/main.go:51
StructregexFc
syntax/prefix.go:262
StructregexFcd
syntax/prefix.go:32
StructregexcmpCase
regexcmp_benchmark_test.go:18
StructreplacerDataCache
regexp.go:716
StructreplacerDataCacheEntry
regexp.go:723
StructrequiredLandmarkCursor
requiredLandmarkCursor finds the cores of one landmark alternative. Calls to find and reachable must pass the same input, endAt and alternative and mu
runner.go:1920
StructrequiredLandmarkMatch
runner.go:1814
StructrequiredLandmarkSearch
requiredLandmarkSearch finds the cores of one landmark. Calls must pass the same input, endAt and landmark and must not decrease startAt, so each curs
runner.go:1823
StructrequiredLandmarkState
requiredLandmarkState holds what the searches for chain's landmarks learned about one input.
runner.go:1786
StructrustRegexCorpusTest
regexp_corpus_rust_test.go:40
StructrustRegexMatch
regexp_corpus_rust_test.go:51
TypeAliasscanMode
scanMode controls capture elision and ownership independently of text metadata.
runner.go:90
StructstartCase
regexp_test.go:295
StructstringByteMapper
regexp.go:415
Structtest262ExecCase
Test262 has hundreds of RegExp tests under test/built-ins/RegExp. These tables intentionally distill pattern-level scenarios that map to regexp2's API
regexp_ecma_test.go:29
Structwriter
syntax/writer.go:51