Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dlclark/regexp2
/ functions
Functions
1,370 in github.com/dlclark/regexp2
⨍
Functions
1,370
◇
Types & classes
96
Function
NewReplacerDataWithGroupNames
NewReplacerDataWithGroupNames is like NewReplacerData, with group names in capture-slot order so duplicate ECMAScript names resolve all their slots. N
syntax/replacerdata.go:34
Function
NewRuneSearchValues
(vals string)
helpers/searchvalues.go:101
Method
StackPush
(val int)
runner.go:2644
Method
StackPush2
(val1, val2 int)
runner.go:2650
Method
StackPush3
(val1, val2, val3 int)
runner.go:2658
Method
StackPushN
(vals ...int)
runner.go:2694
Method
StartsWith
(chars []rune)
helpers/searchvalues.go:166
Method
StartsWithIgnoreCase
(chars []rune)
helpers/searchvalues.go:175
Method
String
anchorDescription returns a human-readable description of the anchors
syntax/prefix.go:848
Method
String
()
syntax/charclass.go:420
Method
Swap
(i, j int)
syntax/charclass.go:922
Function
TestAddLowercaseComplementRange
(t *testing.T)
syntax/charclass_test.go:271
Function
TestAlternationConstAndEscape
(t *testing.T)
regexp_test.go:710
Function
TestAlternationConstruct_Matches
(t *testing.T)
regexp_test.go:2176
Function
TestAlternationNamedOptions_Errors
(t *testing.T)
regexp_test.go:2120
Function
TestAlternationNamedOptions_Success
(t *testing.T)
regexp_test.go:2141
Function
TestAlternationWithNegatedStartingCharacter
(t *testing.T)
regexp_search_test.go:13
Function
TestAnalyzeLeftContext
(t *testing.T)
decode_test.go:10
Function
TestAnythingSet
(t *testing.T)
regexp_test.go:2678
Function
TestAsciiSearchValues_Basic
(t *testing.T)
helpers/searchvalues_test.go:5
Function
TestAsciiSearchValues_Boundaries
(t *testing.T)
helpers/searchvalues_test.go:29
Function
TestAsciiSearchValues_LastIndexOfAny
(t *testing.T)
helpers/searchvalues_test.go:58
Function
TestAsciiSearchValues_NotAscii
(t *testing.T)
helpers/searchvalues_test.go:21
Function
TestAsciiSearchValues_NotFound
(t *testing.T)
helpers/searchvalues_test.go:13
Function
TestBackreferenceFastPaths
(t *testing.T)
regexp_test.go:2706
Function
TestBacktrack_CatastrophicTimeout
(t *testing.T)
regexp_test.go:17
Function
TestBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:12
Function
TestBacktrackingStackLimitOverride
(t *testing.T)
regexp_optimization_test.go:57
Function
TestBadGroupConstruct
(t *testing.T)
regexp_test.go:2390
Function
TestBasicSplit
(t *testing.T)
split_test.go:9
Function
TestBasicSplit_IgnoreCase
(t *testing.T)
split_test.go:20
Function
TestCancellingClasses
(t *testing.T)
regexp_test.go:801
Function
TestCanonicalizeAllowsFurtherMembers
(t *testing.T)
syntax/charclass_test.go:206
Function
TestCanonicalizePreservesMembership
(t *testing.T)
syntax/charclass_test.go:168
Function
TestCaptureStringNoAlloc
(t *testing.T)
regexp_pool_test.go:209
Function
TestCaptureStringUsesOriginalInput
(t *testing.T)
decode_test.go:217
Function
TestCapture_Basic
check all our functions and properties around basic capture groups and referential for Group 0
regexp_test.go:181
Function
TestCapture_ByteOffsets
(t *testing.T)
regexp_test.go:242
Function
TestCapture_ByteOffsetsFindNextMatch
(t *testing.T)
regexp_test.go:270
Function
TestCapture_ByteOffsetsRightToLeft
(t *testing.T)
regexp_test.go:350
Function
TestCapture_ByteOffsetsRunesInput
(t *testing.T)
regexp_test.go:422
Function
TestCapture_ByteOffsetsStartingAt
(t *testing.T)
regexp_test.go:294
Function
TestCapture_ConcurrentReads
(t *testing.T)
regexp_pool_test.go:467
Function
TestCapture_NamedGroupsAfterSlice
(t *testing.T)
regexp_test.go:365
Function
TestCategoryConcurrentCompileAndMatch
(t *testing.T)
regexp_test.go:1407
Function
TestCategorySetCopyAndSerialization
(t *testing.T)
syntax/charclass_test.go:50
Function
TestCategorySetLegacySerialization
(t *testing.T)
syntax/charclass_test.go:154
Function
TestCharSetContainsCompatibility
(t *testing.T)
syntax/charclass_contains_test.go:5
Function
TestCharSetMayOverlap
(t *testing.T)
syntax/charclass_test.go:283
Function
TestCharSetSerializeRoundTrip
(t *testing.T)
syntax/charclass_test.go:8
Function
TestCharacterClassUnionPreservesPolarity
(t *testing.T)
regexp_test.go:1997
Function
TestCompileEqualASCIIPrefixSearch
(t *testing.T)
prefixsearch_test.go:13
Function
TestConcatAccidentalPatternCharge
(t *testing.T)
regexp_test.go:2527
Function
TestConcatLoopCaptureSet
(t *testing.T)
regexp_test.go:812
Function
TestConcurrentHeapStableAfterBurst
(t *testing.T)
regexp_pool_test.go:666
Function
TestConcurrentReplaceCache
(t *testing.T)
regexp_pool_test.go:629
Function
TestConstantUneffected
(t *testing.T)
regexp_test.go:695
Function
TestControlBracketFail
* func TestPcreStuff(t *testing.T) { re := MustCompile(`(?(?=(a))a)`, OptionDebug()) inp := unEscapeToMatch(`a`) fmt.Printf("Inp %q\n", inp) m, er
regexp_test.go:2359
Function
TestControlBracketGroups
(t *testing.T)
regexp_test.go:2368
Function
TestCorpusRE2BasicDat
TestCorpusRE2BasicDat runs the raw Go regexp basic.dat corpus. Corpus source: https://github.com/golang/go/blob/master/src/regexp/testdata/basic.da
regexp_corpus_re2_test.go:21
Function
TestCorpusRustRegexToml
TestCorpusRustRegexToml runs the raw Rust regex TOML corpus. Corpus source: https://github.com/rust-lang/regex/tree/master/testdata The raw TOML f
regexp_corpus_rust_test.go:21
Function
TestDeadline
(t *testing.T)
fastclock_test.go:14
Function
TestDeadlineAfterConcurrentRestart
(t *testing.T)
fastclock_restart_test.go:9
Function
TestDecimalLookahead
(t *testing.T)
regexp_test.go:1567
Function
TestDecodeInputMidRuneStart
(t *testing.T)
decode_test.go:69
Function
TestDecodeInputSkipsPrefixOffset
(t *testing.T)
decode_test.go:43
Function
TestDecodeInputUnspecifiedStart
(t *testing.T)
decode_test.go:61
Function
TestDecodeStringASCII
(t *testing.T)
helpers/ascii_test.go:14
Function
TestDecodeStringUnicode
(t *testing.T)
helpers/ascii_test.go:26
Function
TestDefaultBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:46
Function
TestDisjointAtomicAlternationOptimization
(t *testing.T)
regexp_syntax_extensions_test.go:198
Function
TestDispatchUsesSingleInstructionForManyBranches
(t *testing.T)
regexp_syntax_extensions_test.go:240
Function
TestDollar
(t *testing.T)
regexp_test.go:2072
Function
TestDot
(t *testing.T)
regexp_test.go:1549
Function
TestDuplicateNamesDefaultModeUnchanged
(t *testing.T)
regexp_ecma_test.go:1595
Function
TestECMABoundaryRegression
(t *testing.T)
regexp_ecma_test.go:1768
Function
TestECMABoundaryScopedIgnoreCase
(t *testing.T)
regexp_ecma_test.go:1804
Function
TestECMACharClassEscapeAfterDash
(t *testing.T)
regexp_test.go:2049
Function
TestECMAClassRangeConsumesBothEndpoints
(t *testing.T)
regexp_ecma_test.go:766
Function
TestECMAClassRangeFollowedByCaptures
(t *testing.T)
regexp_ecma_test.go:886
Function
TestECMAClassRangeLiteralEndpoints
(t *testing.T)
regexp_ecma_test.go:867
Function
TestECMAClassRangeWithComplementEscape
(t *testing.T)
regexp_ecma_test.go:776
Function
TestECMADecimalEscapeCompatibility
(t *testing.T)
regexp_ecma_escapes_test.go:327
Function
TestECMADecimalLookahead
(t *testing.T)
regexp_test.go:1577
Function
TestECMADollar
(t *testing.T)
regexp_test.go:2082
Function
TestECMADot
(t *testing.T)
regexp_test.go:1558
Function
TestECMADuplicateCaptureUse
(t *testing.T)
regexp_ecma_test.go:1741
Function
TestECMADuplicateGroupNames
(t *testing.T)
regexp_test.go:1826
Function
TestECMADuplicateNamesEmptyIterations
(t *testing.T)
regexp_ecma_test.go:1459
Function
TestECMADuplicateNamesInAlternatives
(t *testing.T)
regexp_ecma_test.go:1248
Function
TestECMADuplicateNamesMatching
(t *testing.T)
regexp_ecma_test.go:1322
Function
TestECMADuplicateNamesNextMatch
(t *testing.T)
regexp_ecma_test.go:1627
Function
TestECMADuplicateNamesReplacement
(t *testing.T)
regexp_ecma_test.go:1427
Function
TestECMADuplicateNamesValidation
(t *testing.T)
regexp_ecma_test.go:1296
Function
TestECMADuplicateNamesWithRE2Syntax
(t *testing.T)
regexp_ecma_test.go:1651
Function
TestECMAEmptyCharClass
(t *testing.T)
regexp_test.go:1540
Function
TestECMAGroupByNumberRegression
(t *testing.T)
regexp_test.go:1895
Function
TestECMAGroupNameIdentifierChars
(t *testing.T)
regexp_test.go:1804
Function
TestECMAGroupNameUnicode
(t *testing.T)
regexp_test.go:1709
Function
TestECMAIgnoreCaseBackreferenceFolding
(t *testing.T)
regexp_ecma_test.go:636
← previous
next →
901–1,000 of 1,370, ranked by callers