Skip to content

Commit ad780f9

Browse files
author
ripley
committed
clarifications
git-svn-id: https://svn.r-project.org/R/trunk@87806 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 45c7c0d commit ad780f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/library/base/man/grep.Rd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,21 @@ gregexec(pattern, text, ignore.case = FALSE, perl = FALSE,
6262
\item{x, text}{a character vector where matches are sought, or an
6363
object which can be coerced by \code{as.character} to a character
6464
vector. \link{Long vectors} are supported.}
65-
\item{ignore.case}{if \code{FALSE}, the pattern matching is \emph{case
65+
\item{ignore.case}{logical. if \code{FALSE}, the pattern matching is \emph{case
6666
sensitive} and if \code{TRUE}, case is ignored during matching.}
6767
\item{perl}{logical. Should Perl-compatible regexps be used?}
68-
\item{value}{if \code{FALSE}, a vector containing the (\code{integer})
68+
\item{value}{logical. If \code{FALSE}, a vector containing the (\code{integer})
6969
indices of the matches determined by \code{grep} is returned, and if
7070
\code{TRUE}, a vector containing the matching elements themselves is
7171
returned.}
72-
\item{fixed}{logical. If \code{TRUE}, \code{pattern} is a string to be
72+
\item{fixed}{logical. If \code{TRUE}, \code{pattern} is a string to be
7373
matched as is. Overrides all conflicting arguments.}
7474
\item{useBytes}{logical. If \code{TRUE} the matching is done
7575
byte-by-byte rather than character-by-character. See
7676
\sQuote{Details}.}
77-
\item{invert}{logical. If \code{TRUE} return indices or values for
77+
\item{invert}{logical. If \code{TRUE} return indices or values for
7878
elements that do \emph{not} match.}
79-
\item{replacement}{a replacement for matched pattern in \code{sub} and
79+
\item{replacement}{a replacement for the matched pattern in \code{sub} and
8080
\code{gsub}. Coerced to character if possible. For
8181
\code{fixed = FALSE} this can include backreferences \code{"\\1"} to
8282
\code{"\\9"} to parenthesized subexpressions of \code{pattern}. For

0 commit comments

Comments
 (0)