MCPcopy Create free account

hub / github.com/dlclark/regexp2 / functions

Functions1,027 in github.com/dlclark/regexp2

↓ 1 callersMethodscanPythonNamedBackref
()
syntax/parser.go:947
↓ 1 callersMethodscanRegex
()
syntax/parser.go:513
↓ 1 callersMethodscanReplacement
* * Simple parsing for replacement patterns */
syntax/parser.go:797
↓ 1 callersMethodskipChild
Called in Beforechild to prevent further processing of the current child
syntax/prefix.go:151
↓ 1 callersFunctionsplitRustRegexTestBlocks
(raw string)
regexp_corpus_rust_test.go:233
↓ 1 callersFunctionsplitRustRegexTopLevelArrays
(raw string)
regexp_corpus_rust_test.go:434
↓ 1 callersMethodstackDescription
(a []int, index int)
runner.go:2162
↓ 1 callersMethodstackPeek
Technically we are actually peeking at items already popped. So if you want to get and pop the top item from the stack, you do r.stackPop(); r.stackP
runner.go:1291
↓ 1 callersMethodstackPeekN
get the ith element down on the grouping stack
runner.go:1296
↓ 1 callersMethodstackPop
()
runner.go:1278
↓ 1 callersMethodstackPopN
pop framesize items from the grouping stack
runner.go:1283
↓ 1 callersMethodstackPush
Push onto the grouping stack
runner.go:1266
↓ 1 callersMethodstackPush2
(I1, I2 int)
runner.go:1271
↓ 1 callersMethodstartGroup
Start a new round for the parser state (in response to an open paren or string start)
syntax/parser.go:2577
↓ 1 callersMethodstartTimeoutWatch
()
runner.go:2227
↓ 1 callersFunctionstopClock
stop the timeout clock in the background should only used for unit tests to abandon the background goroutine
fastclock.go:93
↓ 1 callersFunctionstringByteOffsets
(s string)
match.go:110
↓ 1 callersMethodstringCode
Returns an index in the string table for a string. uses a map to eliminate duplicates.
syntax/writer.go:592
↓ 1 callersFunctionstringHasLiteralAfterLoop
(input string, searchAt int, literal *syntax.LiteralAfterLoop)
stringprefixfilter.go:369
↓ 1 callersFunctionstripRustRegexComment
(s string)
regexp_corpus_rust_test.go:484
↓ 1 callersMethodtextPos
()
runner.go:1114
↓ 1 callersMethodtextposDescription
()
runner.go:2184
↓ 1 callersMethodtextstart
()
runner.go:1110
↓ 1 callersMethodtextto
(newpos int)
runner.go:1102
↓ 1 callersMethodtidy
(textpos int)
match.go:194
↓ 1 callersMethodtidyMatch
(quick bool)
runner.go:2056
↓ 1 callersFunctiontoRunePrefixes
(prefixes []string)
syntax/optimizations.go:582
↓ 1 callersMethodtopFC
This is the top.
syntax/prefix.go:146
↓ 1 callersMethodtrackPeek
Technically we are actually peeking at items already popped. So if you want to get and pop the top item from the stack, you do r.trackPop(); r.trackP
runner.go:1256
↓ 1 callersMethodtrackPeekN
get the ith element down on the backtracking stack
runner.go:1261
↓ 1 callersMethodtrackPop
()
runner.go:1243
↓ 1 callersMethodtrackPopN
pop framesize items from the backtracking stack
runner.go:1248
↓ 1 callersMethodtrackPush
()
runner.go:1159
↓ 1 callersMethodtrackPush1
(I1 int)
runner.go:1164
↓ 1 callersMethodtrackPush2
(I1, I2 int)
runner.go:1171
↓ 1 callersMethodtrackPush3
(I1, I2, I3 int)
runner.go:1180
↓ 1 callersMethodtrackPushNeg1
(I1 int)
runner.go:1191
↓ 1 callersMethodtrackPushNeg2
(I1, I2 int)
runner.go:1198
↓ 1 callersMethodtrackpos
push onto the backtracking stack
runner.go:1135
↓ 1 callersMethodtrackto
(newpos int)
runner.go:1106
↓ 1 callersMethodtransferCapture
transferCapture captures a subexpression. Note that the capnum used here has already been mapped to a non-sparse index (by the code generator RegexWri
runner.go:2099
↓ 1 callersFunctiontryFindCaseEquivalences
Performs a fast lookup which determines if a character is involved in case conversion, as well as returns the OTHER characters that should be consider
syntax/charclass.go:734
↓ 1 callersFunctiontryFindPrefix
Processes the node, adding any prefix text to the builder. Returns whether processing should continue with subsequent nodes.
syntax/prefixanalyzer.go:247
↓ 1 callersFunctiontryFindRawFixedSets
Starting from the specified root node, populates results with any characters at a fixed distance from the node's starting position. The function retu
syntax/prefixanalyzer.go:756
↓ 1 callersMethodtypeFromCode
Returns ReNode type for zero-length assertions with a \ code.
syntax/parser.go:1616
↓ 1 callersFunctionunEscapeGroup
(val string)
regexp_corpus_pcre_test.go:328
↓ 1 callersFunctionunEscapeToMatch
(line string)
regexp_corpus_pcre_test.go:270
↓ 1 callersFunctionunwrapImmediateLiteralAfterLoopNode
(node *RegexNode)
syntax/prefixanalyzer.go:1267
↓ 1 callersMethoduseOptionM
True if M option altering meaning of $ and ^ is on.
syntax/parser.go:2364
↓ 1 callersMethoduseOptionS
True if S option altering meaning of . is on.
syntax/parser.go:2369
↓ 1 callersFunctionvalidateMatch
(t *testing.T, re *Regexp, m *Match, toMatch, value string, idx, capIdx int)
regexp_corpus_pcre_test.go:152
↓ 1 callersFunctionvalidateNoMatch
(t *testing.T, re *Regexp, m *Match)
regexp_corpus_pcre_test.go:144
↓ 1 callersFunctionwhitespaceLoop
(node *RegexNode)
syntax/prefixanalyzer.go:1446
↓ 1 callersMethodwriteStrToBuf
(buf *bytes.Buffer)
syntax/tree.go:257
MethodAnalyze
<summary>Analyzes the set to determine some basic properties that can be used to optimize usage.
syntax/charclass.go:1447
FunctionBenchmarkAnchoredLiteralLongNonMatch
(b *testing.B)
regexp_performance_test.go:85
FunctionBenchmarkAnchoredLiteralShortNonMatch
* func BenchmarkReplaceAll(b *testing.B) { x := "abcdefghijklmnopqrstuvwxyz" b.StopTimer() re := MustCompile("[cjrw]", 0) b.StartTimer() for i :
regexp_performance_test.go:73
FunctionBenchmarkAnchoredLongMatch
(b *testing.B)
regexp_performance_test.go:117
FunctionBenchmarkAnchoredShortMatch
(b *testing.B)
regexp_performance_test.go:105
FunctionBenchmarkAsciiSearchValues_1K
(b *testing.B)
helpers/searchvalues_test.go:100
FunctionBenchmarkAsciiSearchValues_1M
(b *testing.B)
helpers/searchvalues_test.go:106
FunctionBenchmarkAsciiSearchValues_32
(b *testing.B)
helpers/searchvalues_test.go:97
FunctionBenchmarkAsciiSearchValues_32K
(b *testing.B)
helpers/searchvalues_test.go:103
FunctionBenchmarkAsciiSearchValues_32M
(b *testing.B)
helpers/searchvalues_test.go:109
FunctionBenchmarkDisjointAlternationDispatch
(b *testing.B)
regexp_performance_test.go:208
FunctionBenchmarkDisjointAlternationDispatchLoop
(b *testing.B)
regexp_performance_test.go:242
FunctionBenchmarkFindLeadingStringsLeftToRight
(b *testing.B)
regexp_performance_test.go:340
FunctionBenchmarkLeading
(b *testing.B)
regexp_performance_test.go:409
FunctionBenchmarkLiteral
(b *testing.B)
regexp_performance_test.go:9
FunctionBenchmarkMatchClass
(b *testing.B)
regexp_performance_test.go:33
FunctionBenchmarkMatchClass_InRange
(b *testing.B)
regexp_performance_test.go:46
FunctionBenchmarkMatchEasy0_1K
(b *testing.B)
regexp_performance_test.go:301
FunctionBenchmarkMatchEasy0_1M
(b *testing.B)
regexp_performance_test.go:303
FunctionBenchmarkMatchEasy0_32
(b *testing.B)
regexp_performance_test.go:300
FunctionBenchmarkMatchEasy0_32K
(b *testing.B)
regexp_performance_test.go:302
FunctionBenchmarkMatchEasy0_32M
(b *testing.B)
regexp_performance_test.go:304
FunctionBenchmarkMatchEasy1_1K
(b *testing.B)
regexp_performance_test.go:306
FunctionBenchmarkMatchEasy1_1M
(b *testing.B)
regexp_performance_test.go:308
FunctionBenchmarkMatchEasy1_32
(b *testing.B)
regexp_performance_test.go:305
FunctionBenchmarkMatchEasy1_32K
(b *testing.B)
regexp_performance_test.go:307
FunctionBenchmarkMatchEasy1_32M
(b *testing.B)
regexp_performance_test.go:309
FunctionBenchmarkMatchHard1_1K
(b *testing.B)
regexp_performance_test.go:321
FunctionBenchmarkMatchHard1_1M
(b *testing.B)
regexp_performance_test.go:323
FunctionBenchmarkMatchHard1_32
(b *testing.B)
regexp_performance_test.go:320
FunctionBenchmarkMatchHard1_32K
(b *testing.B)
regexp_performance_test.go:322
FunctionBenchmarkMatchHard1_32M
(b *testing.B)
regexp_performance_test.go:324
FunctionBenchmarkMatchHard_1K
(b *testing.B)
regexp_performance_test.go:316
FunctionBenchmarkMatchHard_1M
(b *testing.B)
regexp_performance_test.go:318
FunctionBenchmarkMatchHard_32
(b *testing.B)
regexp_performance_test.go:315
FunctionBenchmarkMatchHard_32K
(b *testing.B)
regexp_performance_test.go:317
FunctionBenchmarkMatchHard_32M
(b *testing.B)
regexp_performance_test.go:319
FunctionBenchmarkMatchLeadingPrefixesRunes_32K
(b *testing.B)
regexp_performance_test.go:326
FunctionBenchmarkMatchMedium_1K
(b *testing.B)
regexp_performance_test.go:311
FunctionBenchmarkMatchMedium_1M
(b *testing.B)
regexp_performance_test.go:313
FunctionBenchmarkMatchMedium_32
(b *testing.B)
regexp_performance_test.go:310
FunctionBenchmarkMatchMedium_32K
(b *testing.B)
regexp_performance_test.go:312
FunctionBenchmarkMatchMedium_32M
(b *testing.B)
regexp_performance_test.go:314
FunctionBenchmarkMatchRunesLeadingSetMiss32K
(b *testing.B)
regexp_performance_test.go:380
FunctionBenchmarkMatchStringLeadingSetMiss32K
(b *testing.B)
regexp_performance_test.go:368
FunctionBenchmarkNotLiteral
(b *testing.B)
regexp_performance_test.go:21
← previousnext →601–700 of 1,027, ranked by callers