MCPcopy Create free account

hub / github.com/dlclark/regexp2 / functions

Functions983 in github.com/dlclark/regexp2

MethodGetIfOnlyUnicodeCategories
()
syntax/charclass.go:1396
MethodIndexOfAnyExcept
return the first index of anything except our original vals values within the slice given
helpers/searchvalues.go:50
MethodIndexOfAnyExcept
return the first index of our original vals values within the slice given
helpers/searchvalues.go:99
FunctionIndexOfAnyExcept1
(in []rune, bad rune)
helpers/indexof.go:77
FunctionIndexOfAnyExcept2
(in []rune, bad1, bad2 rune)
helpers/indexof.go:86
FunctionIndexOfAnyExcept3
(in []rune, bad1, bad2, bad3 rune)
helpers/indexof.go:96
FunctionIndexOfAnyExceptInSet
(in []rune, set syntax.CharSet)
helpers/indexof.go:127
FunctionIsBetween
(val rune, first, last rune)
helpers/runes.go:5
FunctionIsInMask64
(ch rune, mask uint64)
helpers/runes.go:44
MethodIsMatched
(cap int)
runner.go:2313
MethodIsUnicodeCategoryOfSmallCharCount
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
FunctionIsWordChar
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
FunctionLastIndexOf
(in []rune, find []rune)
helpers/indexof.go:132
MethodLastIndexOfAny
return the last index of our original vals values within the slice given
helpers/searchvalues.go:66
MethodLastIndexOfAny
return the last index of our original vals values within the slice given
helpers/searchvalues.go:105
FunctionLastIndexOfAny1
(in []rune, find rune)
helpers/indexof.go:162
MethodLastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:72
MethodLastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:110
FunctionLastIndexOfAnyExcept1
(in []rune, not rune)
helpers/indexof.go:153
FunctionLastIndexOfAnyInRange
(in []rune, first, last rune)
helpers/indexof.go:174
MethodLastIndexOfRune
(startIndex int, endIndex int, find rune)
runner.go:2224
MethodLess
(i, j int)
syntax/charclass.go:809
MethodMarshalText
MarshalText implements [encoding.TextMarshaler]. The output matches that of calling the [Regexp.String] method.
regexp.go:625
MethodMatch
Match reports whether the byte slice b contains any match of the regular expression.
compat/regexp.go:52
MethodMatchIndex
(cap int)
runner.go:2319
MethodMatchLength
(cap int)
runner.go:2316
MethodMatchReader
MatchReader reports whether text returned by r contains any match of the regular expression.
compat/regexp.go:64
FunctionMax
(a, b int)
helpers/math.go:10
FunctionMin
(a, b int)
helpers/math.go:3
FunctionNewRuneSearchValues
(vals string)
helpers/searchvalues.go:87
FunctionOptionDisableCharClassASCIIBitmap
OptionDisableCharClassASCIIBitmap disables compile-time ASCII bitmaps for character classes.
options.go:145
FunctionOptionMaxCachedReplaceBufferLength
OptionMaxCachedReplaceBufferLength limits retained replacement output buffers in the shared size-classed pool.
options.go:124
FunctionOptionMaxCachedRuneBufferLength
OptionMaxCachedRuneBufferLength limits retained string-to-rune buffers in the shared size-classed pool.
options.go:117
MethodRunes
Runes returns the captured text as a rune slice
match.go:68
MethodStackPush
(val int)
runner.go:2255
MethodStackPush2
(val1, val2 int)
runner.go:2261
MethodStackPush3
(val1, val2, val3 int)
runner.go:2269
MethodStackPushN
(vals ...int)
runner.go:2305
MethodStartsWith
(chars []rune)
helpers/searchvalues.go:147
MethodStartsWithIgnoreCase
(chars []rune)
helpers/searchvalues.go:151
MethodString
anchorDescription returns a human-readable description of the anchors
syntax/prefix.go:845
MethodString
()
syntax/charclass.go:401
MethodSwap
(i, j int)
syntax/charclass.go:810
FunctionTestAddLowercaseComplementRange
(t *testing.T)
syntax/charclass_test.go:35
FunctionTestAlternationConstAndEscape
(t *testing.T)
regexp_test.go:491
FunctionTestAlternationConstruct_Matches
(t *testing.T)
regexp_test.go:1487
FunctionTestAlternationNamedOptions_Errors
(t *testing.T)
regexp_test.go:1431
FunctionTestAlternationNamedOptions_Success
(t *testing.T)
regexp_test.go:1452
FunctionTestAnythingSet
(t *testing.T)
regexp_test.go:1909
FunctionTestAsciiSearchValues_Basic
(t *testing.T)
helpers/searchvalues_test.go:5
FunctionTestAsciiSearchValues_Boundaries
(t *testing.T)
helpers/searchvalues_test.go:29
FunctionTestAsciiSearchValues_NotAscii
(t *testing.T)
helpers/searchvalues_test.go:21
FunctionTestAsciiSearchValues_NotFound
(t *testing.T)
helpers/searchvalues_test.go:13
FunctionTestBacktrack_CatastrophicTimeout
(t *testing.T)
regexp_test.go:14
FunctionTestBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:12
FunctionTestBacktrackingStackLimitOverride
(t *testing.T)
regexp_optimization_test.go:45
FunctionTestBadGroupConstruct
(t *testing.T)
regexp_test.go:1621
FunctionTestBasicSplit
(t *testing.T)
split_test.go:9
FunctionTestBasicSplit_IgnoreCase
(t *testing.T)
split_test.go:20
FunctionTestCancellingClasses
(t *testing.T)
regexp_test.go:541
FunctionTestCanonicalize
(t *testing.T)
syntax/charclass_test.go:26
FunctionTestCapture_Basic
check all our functions and properties around basic capture groups and referential for Group 0
regexp_test.go:94
FunctionTestCapture_ByteOffsets
(t *testing.T)
regexp_test.go:155
FunctionTestCapture_ByteOffsetsFindNextMatch
(t *testing.T)
regexp_test.go:183
FunctionTestCapture_ByteOffsetsRightToLeft
(t *testing.T)
regexp_test.go:226
FunctionTestCapture_ByteOffsetsRunesInput
(t *testing.T)
regexp_test.go:241
FunctionTestCapture_ByteOffsetsStartingAt
(t *testing.T)
regexp_test.go:207
FunctionTestCharSetSerializeRoundTrip
(t *testing.T)
syntax/charclass_test.go:8
FunctionTestConcatAccidentalPatternCharge
(t *testing.T)
regexp_test.go:1758
FunctionTestConcatLoopCaptureSet
(t *testing.T)
regexp_test.go:552
FunctionTestConstantUneffected
(t *testing.T)
regexp_test.go:476
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:1590
FunctionTestControlBracketGroups
(t *testing.T)
regexp_test.go:1599
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
FunctionTestDecimalLookahead
(t *testing.T)
regexp_test.go:975
FunctionTestDefaultBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:34
FunctionTestDollar
(t *testing.T)
regexp_test.go:1383
FunctionTestDot
(t *testing.T)
regexp_test.go:957
FunctionTestECMACharClassEscapeAfterDash
(t *testing.T)
regexp_test.go:1360
FunctionTestECMADecimalLookahead
(t *testing.T)
regexp_test.go:985
FunctionTestECMADollar
(t *testing.T)
regexp_test.go:1393
FunctionTestECMADot
(t *testing.T)
regexp_test.go:966
FunctionTestECMADuplicateGroupNames
(t *testing.T)
regexp_test.go:1200
FunctionTestECMAEmptyCharClass
(t *testing.T)
regexp_test.go:948
FunctionTestECMAGroupNameIdentifierChars
(t *testing.T)
regexp_test.go:1178
FunctionTestECMAGroupNameUnicode
(t *testing.T)
regexp_test.go:1117
FunctionTestECMAInvalidEscape
(t *testing.T)
regexp_test.go:1035
FunctionTestECMAInvalidEscapeCharClass
(t *testing.T)
regexp_test.go:1292
FunctionTestECMANamedGroup
(t *testing.T)
regexp_test.go:1051
FunctionTestECMANamedGroupNumberAssignment
(t *testing.T)
regexp_test.go:1214
FunctionTestECMANegateRange
(t *testing.T)
regexp_test.go:1351
FunctionTestECMAOctal
(t *testing.T)
regexp_test.go:1005
FunctionTestECMAScriptXCurlyBraceEscape
(t *testing.T)
regexp_test.go:1313
FunctionTestECMA_CharSetRange
(t *testing.T)
regexp_ecma_test.go:260
FunctionTestECMA_Test262CompileErrors
(t *testing.T)
regexp_ecma_test.go:236
FunctionTestECMA_Test262ExecScenarios
(t *testing.T)
regexp_ecma_test.go:34
FunctionTestEMCAScriptUnicodeSets
(t *testing.T)
regexp_ecma_test.go:381
FunctionTestEcmaScriptUnicodeRange
(t *testing.T)
regexp_test.go:1328
← previousnext →701–800 of 983, ranked by callers