<commit_before>.TH AURSEARCH 1 2016-05-18 AURUTILS
.SH NAME
aursearch \- search AUR package names by pcre pattern

.SH SYNOPSIS
.SY aursearch
.OP \-brvmd
.OP -P pattern
.OP -F string
.I string
.YS

.SH DESCRIPTION
\fBaursearch\fR searches the AUR by multiple patterns or strings.
The union of all search results is returned.

.SH OPTIONS
.B \-F
.RS
Search for a fixed string.
.RE

.B \-P
.RS
Search for a PCRE pattern.
.RE

.B \-b
.RS
Match pkgbase instead of pkgname (PCRE/fixed search only).
.RE

.B \-r
.RS
Output JSON from AUR RPC.
.RE

.B \-v
.RS
Display more package information.
.RE

.B \-d
.RS
Search by package name and description.
.RE

.B \-m
.RS
Search by mainainer.
.RE


.SH NOTES
As the AUR RPC is limited to GET requests, queries are split by 150
arguments to avoid HTTP 414 errors (FS#49089). The results are merged
to a single JSON structure.

PCRE searches are done by matching regular expressions against
\fIpackages.gz\fR or \fIpkgbase.gz\fR, and querying the result with
the RPC. This is done as the AUR itself has no regex support
(FS#49099).

.SH SEE ALSO
.BR aria2c (1),
.BR curl (1),
.BR jshon (1),
.BR pcrepattern (3),<commit_msg>Fix typos<commit_after>.TH AURSEARCH 1 2016-05-18 AURUTILS
.SH NAME
aursearch \- search AUR package names by pcre pattern

.SH SYNOPSIS
.SY aursearch
.OP \-brvmd
.OP -F string
.OP -P pattern
.I string
.YS

.SH DESCRIPTION
\fBaursearch\fR searches the AUR by multiple patterns or strings. The
union of all results is returned.

.SH OPTIONS
.B \-F
.RS
Search for a fixed string.
.RE

.B \-P
.RS
Search for a PCRE pattern.
.RE

.B \-b
.RS
Match pkgbase instead of pkgname (PCRE/fixed search only).
.RE

.B \-r
.RS
Output JSON from AUR RPC.
.RE

.B \-v
.RS
Display more package information.
.RE

.B \-d
.RS
Search by package name and description.
.RE

.B \-m
.RS
Search by maintainer.
.RE

.SH NOTES
As the AUR RPC is limited to GET requests, queries are split by 150
arguments to avoid HTTP 414 errors (FS#49089). The results are merged
to a single JSON structure.

PCRE searches are done by matching regular expressions against
\fIpackages.gz\fR or \fIpkgbase.gz\fR, and querying the result with
the RPC. This is done as the AUR itself has no regex support
(FS#49099).

.SH SEE ALSO
.BR aria2c (1),
.BR curl (1),
.BR jshon (1),
.BR pcrepattern (3),
{'fraction_non_alphanumeric': 0.09292227529309596, 'fraction_numerical': 0.026052974381241857, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6912069', 'n_tokens_mistral': 913, 'n_tokens_neox': 829, 'n_words': 385}