MCPcopy Create free account

hub / github.com/dlclark/regexp2 / functions

Functions1,368 in github.com/dlclark/regexp2

FunctionNewReplacerDataWithGroupNames
NewReplacerDataWithGroupNames is like NewReplacerData, with group names in capture-slot order so duplicate ECMAScript names resolve all their slots. N
syntax/replacerdata.go:34
FunctionNewRuneSearchValues
(vals string)
helpers/searchvalues.go:101
MethodStackPush
(val int)
runner.go:2644
MethodStackPush2
(val1, val2 int)
runner.go:2650
MethodStackPush3
(val1, val2, val3 int)
runner.go:2658
MethodStackPushN
(vals ...int)
runner.go:2694
MethodStartsWith
(chars []rune)
helpers/searchvalues.go:166
MethodStartsWithIgnoreCase
(chars []rune)
helpers/searchvalues.go:175
MethodString
anchorDescription returns a human-readable description of the anchors
syntax/prefix.go:848
MethodString
()
syntax/charclass.go:435
MethodSwap
(i, j int)
syntax/charclass.go:940
FunctionTestAddLowercaseComplementRange
(t *testing.T)
syntax/charclass_test.go:227
FunctionTestAlternationConstAndEscape
(t *testing.T)
regexp_test.go:710
FunctionTestAlternationConstruct_Matches
(t *testing.T)
regexp_test.go:2135
FunctionTestAlternationNamedOptions_Errors
(t *testing.T)
regexp_test.go:2079
FunctionTestAlternationNamedOptions_Success
(t *testing.T)
regexp_test.go:2100
FunctionTestAlternationWithNegatedStartingCharacter
(t *testing.T)
regexp_search_test.go:13
FunctionTestAnalyzeLeftContext
(t *testing.T)
decode_test.go:10
FunctionTestAnythingSet
(t *testing.T)
regexp_test.go:2637
FunctionTestAsciiSearchValues_Basic
(t *testing.T)
helpers/searchvalues_test.go:5
FunctionTestAsciiSearchValues_Boundaries
(t *testing.T)
helpers/searchvalues_test.go:29
FunctionTestAsciiSearchValues_LastIndexOfAny
(t *testing.T)
helpers/searchvalues_test.go:58
FunctionTestAsciiSearchValues_NotAscii
(t *testing.T)
helpers/searchvalues_test.go:21
FunctionTestAsciiSearchValues_NotFound
(t *testing.T)
helpers/searchvalues_test.go:13
FunctionTestBackreferenceFastPaths
(t *testing.T)
regexp_test.go:2665
FunctionTestBacktrack_CatastrophicTimeout
(t *testing.T)
regexp_test.go:17
FunctionTestBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:12
FunctionTestBacktrackingStackLimitOverride
(t *testing.T)
regexp_optimization_test.go:57
FunctionTestBadGroupConstruct
(t *testing.T)
regexp_test.go:2349
FunctionTestBasicSplit
(t *testing.T)
split_test.go:9
FunctionTestBasicSplit_IgnoreCase
(t *testing.T)
split_test.go:20
FunctionTestCancellingClasses
(t *testing.T)
regexp_test.go:760
FunctionTestCanonicalizeAllowsFurtherMembers
(t *testing.T)
syntax/charclass_test.go:162
FunctionTestCanonicalizePreservesMembership
(t *testing.T)
syntax/charclass_test.go:124
FunctionTestCaptureStringNoAlloc
(t *testing.T)
regexp_pool_test.go:209
FunctionTestCaptureStringUsesOriginalInput
(t *testing.T)
decode_test.go:217
FunctionTestCapture_Basic
check all our functions and properties around basic capture groups and referential for Group 0
regexp_test.go:181
FunctionTestCapture_ByteOffsets
(t *testing.T)
regexp_test.go:242
FunctionTestCapture_ByteOffsetsFindNextMatch
(t *testing.T)
regexp_test.go:270
FunctionTestCapture_ByteOffsetsRightToLeft
(t *testing.T)
regexp_test.go:350
FunctionTestCapture_ByteOffsetsRunesInput
(t *testing.T)
regexp_test.go:422
FunctionTestCapture_ByteOffsetsStartingAt
(t *testing.T)
regexp_test.go:294
FunctionTestCapture_ConcurrentReads
(t *testing.T)
regexp_pool_test.go:467
FunctionTestCapture_NamedGroupsAfterSlice
(t *testing.T)
regexp_test.go:365
FunctionTestCategoryConcurrentCompileAndMatch
(t *testing.T)
regexp_test.go:1366
FunctionTestCategorySetCopyAndSerialization
(t *testing.T)
syntax/charclass_test.go:50
FunctionTestCategorySetLegacySerialization
(t *testing.T)
syntax/charclass_test.go:110
FunctionTestCharSetContainsCompatibility
(t *testing.T)
syntax/charclass_contains_test.go:5
FunctionTestCharSetMayOverlap
(t *testing.T)
syntax/charclass_test.go:239
FunctionTestCharSetSerializeRoundTrip
(t *testing.T)
syntax/charclass_test.go:8
FunctionTestCharacterClassUnionPreservesPolarity
(t *testing.T)
regexp_test.go:1956
FunctionTestCompileEqualASCIIPrefixSearch
(t *testing.T)
prefixsearch_test.go:13
FunctionTestConcatAccidentalPatternCharge
(t *testing.T)
regexp_test.go:2486
FunctionTestConcatLoopCaptureSet
(t *testing.T)
regexp_test.go:771
FunctionTestConcurrentHeapStableAfterBurst
(t *testing.T)
regexp_pool_test.go:666
FunctionTestConcurrentReplaceCache
(t *testing.T)
regexp_pool_test.go:629
FunctionTestConstantUneffected
(t *testing.T)
regexp_test.go:695
FunctionTestControlBracketFail
* func TestPcreStuff(t *testing.T) { re := MustCompile(`(?(?=(a))a)`, OptionDebug()) inp := unEscapeToMatch(`a`) fmt.Printf("Inp %q\n", inp) m, er
regexp_test.go:2318
FunctionTestControlBracketGroups
(t *testing.T)
regexp_test.go:2327
FunctionTestCorpusRE2BasicDat
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
FunctionTestCorpusRustRegexToml
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
FunctionTestDeadline
(t *testing.T)
fastclock_test.go:14
FunctionTestDeadlineAfterConcurrentRestart
(t *testing.T)
fastclock_restart_test.go:9
FunctionTestDecimalLookahead
(t *testing.T)
regexp_test.go:1526
FunctionTestDecodeInputMidRuneStart
(t *testing.T)
decode_test.go:69
FunctionTestDecodeInputSkipsPrefixOffset
(t *testing.T)
decode_test.go:43
FunctionTestDecodeInputUnspecifiedStart
(t *testing.T)
decode_test.go:61
FunctionTestDecodeStringASCII
(t *testing.T)
helpers/ascii_test.go:14
FunctionTestDecodeStringUnicode
(t *testing.T)
helpers/ascii_test.go:26
FunctionTestDefaultBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:46
FunctionTestDisjointAtomicAlternationOptimization
(t *testing.T)
regexp_syntax_extensions_test.go:198
FunctionTestDispatchUsesSingleInstructionForManyBranches
(t *testing.T)
regexp_syntax_extensions_test.go:240
FunctionTestDollar
(t *testing.T)
regexp_test.go:2031
FunctionTestDot
(t *testing.T)
regexp_test.go:1508
FunctionTestDuplicateNamesDefaultModeUnchanged
(t *testing.T)
regexp_ecma_test.go:1595
FunctionTestECMABoundaryRegression
(t *testing.T)
regexp_ecma_test.go:1768
FunctionTestECMABoundaryScopedIgnoreCase
(t *testing.T)
regexp_ecma_test.go:1804
FunctionTestECMACharClassEscapeAfterDash
(t *testing.T)
regexp_test.go:2008
FunctionTestECMAClassRangeConsumesBothEndpoints
(t *testing.T)
regexp_ecma_test.go:766
FunctionTestECMAClassRangeFollowedByCaptures
(t *testing.T)
regexp_ecma_test.go:886
FunctionTestECMAClassRangeLiteralEndpoints
(t *testing.T)
regexp_ecma_test.go:867
FunctionTestECMAClassRangeWithComplementEscape
(t *testing.T)
regexp_ecma_test.go:776
FunctionTestECMADecimalEscapeCompatibility
(t *testing.T)
regexp_ecma_escapes_test.go:327
FunctionTestECMADecimalLookahead
(t *testing.T)
regexp_test.go:1536
FunctionTestECMADollar
(t *testing.T)
regexp_test.go:2041
FunctionTestECMADot
(t *testing.T)
regexp_test.go:1517
FunctionTestECMADuplicateCaptureUse
(t *testing.T)
regexp_ecma_test.go:1741
FunctionTestECMADuplicateGroupNames
(t *testing.T)
regexp_test.go:1785
FunctionTestECMADuplicateNamesEmptyIterations
(t *testing.T)
regexp_ecma_test.go:1459
FunctionTestECMADuplicateNamesInAlternatives
(t *testing.T)
regexp_ecma_test.go:1248
FunctionTestECMADuplicateNamesMatching
(t *testing.T)
regexp_ecma_test.go:1322
FunctionTestECMADuplicateNamesNextMatch
(t *testing.T)
regexp_ecma_test.go:1627
FunctionTestECMADuplicateNamesReplacement
(t *testing.T)
regexp_ecma_test.go:1427
FunctionTestECMADuplicateNamesValidation
(t *testing.T)
regexp_ecma_test.go:1296
FunctionTestECMADuplicateNamesWithRE2Syntax
(t *testing.T)
regexp_ecma_test.go:1651
FunctionTestECMAEmptyCharClass
(t *testing.T)
regexp_test.go:1499
FunctionTestECMAGroupByNumberRegression
(t *testing.T)
regexp_test.go:1854
FunctionTestECMAGroupNameIdentifierChars
(t *testing.T)
regexp_test.go:1763
FunctionTestECMAGroupNameUnicode
(t *testing.T)
regexp_test.go:1668
FunctionTestECMAIgnoreCaseBackreferenceFolding
(t *testing.T)
regexp_ecma_test.go:636
← previousnext →901–1,000 of 1,368, ranked by callers