An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/jdkato/regexp

Package regexp implements regular expression search. The syntax of the regular expressions accepted is the same general syntax used by Perl, Python, and other languages. More precisely, it is the syntax accepted by RE2 and described at https://golang.org/s/re2syntax, except for \C. For an overview of the syntax, run The regexp implementation provided by this package is guaranteed to run in time linear in the size of the input. (This is a property not guaranteed by most open source implementations of regular expressions.) For more information about this property, see or any book about automata theory. All characters are UTF-8-encoded code points. There are 16 methods of Regexp that match a regular expression and identify the matched text. Their names are matched by this regular expression: If 'All' is present, the routine matches successive non-overlapping matches of the entire expression. Empty matches abutting a preceding match are ignored. The return value is a slice containing the successive return values of the corresponding non-'All' routine. These routines take an extra integer argument, n; if n >= 0, the function returns at most n matches/submatches. If 'String' is present, the argument is a string; otherwise it is a slice of bytes; return values are adjusted as appropriate. If 'Submatch' is present, the return value is a slice identifying the successive submatches of the expression. Submatches are matches of parenthesized subexpressions (also known as capturing groups) within the regular expression, numbered from left to right in order of opening parenthesis. Submatch 0 is the match of the entire expression, submatch 1 the match of the first parenthesized subexpression, and so on. If 'Index' is present, matches and submatches are identified by byte index pairs within the input string: result[2*n:2*n+1] identifies the indexes of the nth submatch. The pair for n==0 identifies the match of the entire expression. If 'Index' is not present, the match is identified by the text of the match/submatch. If an index is negative, it means that subexpression did not match any string in the input. There is also a subset of the methods that can be applied to text read from a RuneReader: This set may grow. Note that regular expression matches may need to examine text beyond the text returned by a match, so the methods that match text from a RuneReader may read arbitrarily far into the input before returning. (There are a few other methods that do not match this pattern.)
1 version
Latest release: about 5 years ago
10 dependent packages

View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/jdkato/regexp

View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/jdkato%2Fregexp

Dependent Repos 5

bhuveshkumaroracle/jms-livelabs-staging Fork of tchoo-oracle/jms-livelabs-staging
Learning Material for Oracle Technologies

Size: 8.59 GB - Last synced: about 2 years ago - Pushed: almost 3 years ago

jdkato/vale
:pencil: A syntax-aware linter for prose built with speed and extensibility in mind.

Last synced: almost 2 years ago

life4/chameleon
Turn repo with markdown files into a nice looking blog

Size: 6.26 MB - Last synced: 9 months ago - Pushed: almost 3 years ago

lyda/terraform-provider-tlps

Last synced: over 1 year ago

arabellayao/common Fork of oracle-livelabs/common

Size: 319 MB - Last synced: almost 2 years ago - Pushed: over 2 years ago

errata-ai/vale
:pencil: A markup-aware linter for prose built with speed and extensibility in mind.

Size: 71.9 MB - Last synced: 3 days ago - Pushed: 23 days ago

lcaldara-oracle/livelabs-common Fork of oracle-livelabs/common

Size: 521 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

mtgr18977/vale Fork of errata-ai/vale
:pencil: A syntax-aware linter for prose built with speed and extensibility in mind.

Size: 71.4 MB - Last synced: almost 2 years ago - Pushed: almost 2 years ago

deekshasehgal/common Fork of oracle-livelabs/common

Size: 530 MB - Last synced: 12 months ago - Pushed: 12 months ago

super-rain/vale Fork of errata-ai/vale
:pencil: A syntax-aware linter for prose built with speed and extensibility in mind.

Size: 71.4 MB - Last synced: about 1 year ago - Pushed: almost 2 years ago

mmsmith11/common Fork of oracle-livelabs/common

Size: 281 MB - Last synced: about 1 year ago - Pushed: over 2 years ago

PeterDaveHello/vale Fork of errata-ai/vale
:pencil: A markup-aware linter for prose built with speed and extensibility in mind.

Size: 71.4 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

sthagen/errata-ai-vale Fork of errata-ai/vale
:pencil: A syntax-aware linter for prose built with speed and extensibility in mind.

Size: 71.4 MB - Last synced: 3 days ago - Pushed: over 1 year ago