Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dlclark/regexp2
/ functions
Functions
983 in github.com/dlclark/regexp2
⨍
Functions
983
◇
Types & classes
72
Method
GetIfOnlyUnicodeCategories
()
syntax/charclass.go:1396
Method
IndexOfAnyExcept
return the first index of anything except our original vals values within the slice given
helpers/searchvalues.go:50
Method
IndexOfAnyExcept
return the first index of our original vals values within the slice given
helpers/searchvalues.go:99
Function
IndexOfAnyExcept1
(in []rune, bad rune)
helpers/indexof.go:77
Function
IndexOfAnyExcept2
(in []rune, bad1, bad2 rune)
helpers/indexof.go:86
Function
IndexOfAnyExcept3
(in []rune, bad1, bad2, bad3 rune)
helpers/indexof.go:96
Function
IndexOfAnyExceptInSet
(in []rune, set syntax.CharSet)
helpers/indexof.go:127
Function
IsBetween
(val rune, first, last rune)
helpers/runes.go:5
Function
IsInMask64
(ch rune, mask uint64)
helpers/runes.go:44
Method
IsMatched
(cap int)
runner.go:2313
Method
IsUnicodeCategoryOfSmallCharCount
Gets whether the specified set is a named set with a reasonably small count of Unicode characters. Designed to help the regexp code generator choose a
syntax/charclass.go:1301
Function
IsWordChar
According to UTS#18 Unicode Regular Expressions (http://www.unicode.org/reports/tr18/) RL 1.4 Simple Word Boundaries The class of <word_character> in
helpers/runes.go:19
Function
LastIndexOf
(in []rune, find []rune)
helpers/indexof.go:132
Method
LastIndexOfAny
return the last index of our original vals values within the slice given
helpers/searchvalues.go:66
Method
LastIndexOfAny
return the last index of our original vals values within the slice given
helpers/searchvalues.go:105
Function
LastIndexOfAny1
(in []rune, find rune)
helpers/indexof.go:162
Method
LastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:72
Method
LastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:110
Function
LastIndexOfAnyExcept1
(in []rune, not rune)
helpers/indexof.go:153
Function
LastIndexOfAnyInRange
(in []rune, first, last rune)
helpers/indexof.go:174
Method
LastIndexOfRune
(startIndex int, endIndex int, find rune)
runner.go:2224
Method
Less
(i, j int)
syntax/charclass.go:809
Method
MarshalText
MarshalText implements [encoding.TextMarshaler]. The output matches that of calling the [Regexp.String] method.
regexp.go:625
Method
Match
Match reports whether the byte slice b contains any match of the regular expression.
compat/regexp.go:52
Method
MatchIndex
(cap int)
runner.go:2319
Method
MatchLength
(cap int)
runner.go:2316
Method
MatchReader
MatchReader reports whether text returned by r contains any match of the regular expression.
compat/regexp.go:64
Function
Max
(a, b int)
helpers/math.go:10
Function
Min
(a, b int)
helpers/math.go:3
Function
NewRuneSearchValues
(vals string)
helpers/searchvalues.go:87
Function
OptionDisableCharClassASCIIBitmap
OptionDisableCharClassASCIIBitmap disables compile-time ASCII bitmaps for character classes.
options.go:145
Function
OptionMaxCachedReplaceBufferLength
OptionMaxCachedReplaceBufferLength limits retained replacement output buffers in the shared size-classed pool.
options.go:124
Function
OptionMaxCachedRuneBufferLength
OptionMaxCachedRuneBufferLength limits retained string-to-rune buffers in the shared size-classed pool.
options.go:117
Method
Runes
Runes returns the captured text as a rune slice
match.go:68
Method
StackPush
(val int)
runner.go:2255
Method
StackPush2
(val1, val2 int)
runner.go:2261
Method
StackPush3
(val1, val2, val3 int)
runner.go:2269
Method
StackPushN
(vals ...int)
runner.go:2305
Method
StartsWith
(chars []rune)
helpers/searchvalues.go:147
Method
StartsWithIgnoreCase
(chars []rune)
helpers/searchvalues.go:151
Method
String
anchorDescription returns a human-readable description of the anchors
syntax/prefix.go:845
Method
String
()
syntax/charclass.go:401
Method
Swap
(i, j int)
syntax/charclass.go:810
Function
TestAddLowercaseComplementRange
(t *testing.T)
syntax/charclass_test.go:35
Function
TestAlternationConstAndEscape
(t *testing.T)
regexp_test.go:491
Function
TestAlternationConstruct_Matches
(t *testing.T)
regexp_test.go:1487
Function
TestAlternationNamedOptions_Errors
(t *testing.T)
regexp_test.go:1431
Function
TestAlternationNamedOptions_Success
(t *testing.T)
regexp_test.go:1452
Function
TestAnythingSet
(t *testing.T)
regexp_test.go:1909
Function
TestAsciiSearchValues_Basic
(t *testing.T)
helpers/searchvalues_test.go:5
Function
TestAsciiSearchValues_Boundaries
(t *testing.T)
helpers/searchvalues_test.go:29
Function
TestAsciiSearchValues_NotAscii
(t *testing.T)
helpers/searchvalues_test.go:21
Function
TestAsciiSearchValues_NotFound
(t *testing.T)
helpers/searchvalues_test.go:13
Function
TestBacktrack_CatastrophicTimeout
(t *testing.T)
regexp_test.go:14
Function
TestBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:12
Function
TestBacktrackingStackLimitOverride
(t *testing.T)
regexp_optimization_test.go:45
Function
TestBadGroupConstruct
(t *testing.T)
regexp_test.go:1621
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:541
Function
TestCanonicalize
(t *testing.T)
syntax/charclass_test.go:26
Function
TestCapture_Basic
check all our functions and properties around basic capture groups and referential for Group 0
regexp_test.go:94
Function
TestCapture_ByteOffsets
(t *testing.T)
regexp_test.go:155
Function
TestCapture_ByteOffsetsFindNextMatch
(t *testing.T)
regexp_test.go:183
Function
TestCapture_ByteOffsetsRightToLeft
(t *testing.T)
regexp_test.go:226
Function
TestCapture_ByteOffsetsRunesInput
(t *testing.T)
regexp_test.go:241
Function
TestCapture_ByteOffsetsStartingAt
(t *testing.T)
regexp_test.go:207
Function
TestCharSetSerializeRoundTrip
(t *testing.T)
syntax/charclass_test.go:8
Function
TestConcatAccidentalPatternCharge
(t *testing.T)
regexp_test.go:1758
Function
TestConcatLoopCaptureSet
(t *testing.T)
regexp_test.go:552
Function
TestConstantUneffected
(t *testing.T)
regexp_test.go:476
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:1590
Function
TestControlBracketGroups
(t *testing.T)
regexp_test.go:1599
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
TestDecimalLookahead
(t *testing.T)
regexp_test.go:975
Function
TestDefaultBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:34
Function
TestDollar
(t *testing.T)
regexp_test.go:1383
Function
TestDot
(t *testing.T)
regexp_test.go:957
Function
TestECMACharClassEscapeAfterDash
(t *testing.T)
regexp_test.go:1360
Function
TestECMADecimalLookahead
(t *testing.T)
regexp_test.go:985
Function
TestECMADollar
(t *testing.T)
regexp_test.go:1393
Function
TestECMADot
(t *testing.T)
regexp_test.go:966
Function
TestECMADuplicateGroupNames
(t *testing.T)
regexp_test.go:1200
Function
TestECMAEmptyCharClass
(t *testing.T)
regexp_test.go:948
Function
TestECMAGroupNameIdentifierChars
(t *testing.T)
regexp_test.go:1178
Function
TestECMAGroupNameUnicode
(t *testing.T)
regexp_test.go:1117
Function
TestECMAInvalidEscape
(t *testing.T)
regexp_test.go:1035
Function
TestECMAInvalidEscapeCharClass
(t *testing.T)
regexp_test.go:1292
Function
TestECMANamedGroup
(t *testing.T)
regexp_test.go:1051
Function
TestECMANamedGroupNumberAssignment
(t *testing.T)
regexp_test.go:1214
Function
TestECMANegateRange
(t *testing.T)
regexp_test.go:1351
Function
TestECMAOctal
(t *testing.T)
regexp_test.go:1005
Function
TestECMAScriptXCurlyBraceEscape
(t *testing.T)
regexp_test.go:1313
Function
TestECMA_CharSetRange
(t *testing.T)
regexp_ecma_test.go:260
Function
TestECMA_Test262CompileErrors
(t *testing.T)
regexp_ecma_test.go:236
Function
TestECMA_Test262ExecScenarios
(t *testing.T)
regexp_ecma_test.go:34
Function
TestEMCAScriptUnicodeSets
(t *testing.T)
regexp_ecma_test.go:381
Function
TestEcmaScriptUnicodeRange
(t *testing.T)
regexp_test.go:1328
← previous
next →
701–800 of 983, ranked by callers