Package Usage: go: rsc.io/binaryregexp
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; otherwise, it returns all of them.
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 or text is nil, it means that
subexpression did not match any string in the input. For 'String' versions
an empty string means either no match or an empty match.
There is also a subset of the methods that can be applied to text read
from a ByteReader:
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 ByteReader may read arbitrarily far into the input
before returning.
(There are a few other methods that do not match this pattern.)
2 versions
Latest release: almost 6 years ago
199 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/rsc.io/binaryregexp
Dependent Repos 19
1024pix/steampipe-plugin-learningcontent
Steampipe plugin to query LCMS contentSize: 101 KB - Last synced: 3 days ago - Pushed: over 1 year ago

1024pix/steampipe-plugin-metabase
Use SQL to query databases, tables, permissions and more from MetabaseSize: 1.22 MB - Last synced: 3 days ago - Pushed: 4 days ago

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi
Last synced: 7 months ago - Pushed: 11 months ago
betagouv/sealed-secrets Fork of bitnami-labs/sealed-secrets
A Kubernetes controller and tool for one-way encrypted SecretsSize: 19.2 MB - Last synced: 7 days ago - Pushed: almost 3 years ago

betagouv/vouch-proxy Fork of vouch/vouch-proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request moduleSize: 5.68 MB - Last synced: 7 days ago - Pushed: over 1 year ago

cea-hpc/fabricmon Fork of dswarbrick/fabricmon
InfiniBand fabric monitoring daemon written in GoSize: 404 KB - Last synced: about 10 hours ago - Pushed: 6 months ago

1024pix/steampipe-plugin-github Fork of turbot/steampipe-plugin-github
Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.Size: 206 KB - Last synced: 3 days ago - Pushed: about 1 year ago

radiofrance/process-exporter Fork of ncabatoff/process-exporter
Prometheus exporter that mines /proc to report on selected processesSize: 2.25 MB - Last synced: 7 days ago - Pushed: over 1 year ago

signaux-faibles/wekan-alerter
wekan-alerterSize: 44.9 KB - Last synced: 7 days ago - Pushed: over 2 years ago

signaux-faibles/goup
Serveur minimaliste pour téléverser des fichiers avec une gestion de droitsSize: 63.1 MB - Last synced: 7 days ago - Pushed: over 2 years ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2.99 MB - Last synced: 7 months ago - Pushed: 9 months ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stackLast synced: 7 months ago

gestion-des-assemblees/elections
Application de recensement des votes d'une élection et affichage de ses résultats.Last synced: 7 months ago
systemes-dinformation/project-template/sdk-go
Simple Developpement Kit for GO with Gorm ORM for backend and Bulma for frontend.Last synced: 7 months ago