-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially addresses #10 when the `regex` object is the first object to be Concatenated.
- Loading branch information
Showing
6 changed files
with
73 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
% Generated by roxygen2 (4.0.2.9000): do not edit by hand | ||
\name{as.regex} | ||
\alias{as.regex} | ||
\alias{as.regex.default} | ||
\title{Coerce objects to a \code{\link{regex}}.} | ||
\usage{ | ||
as.regex(x, ...) | ||
|
||
\method{as.regex}{default}(x, ...) | ||
} | ||
\arguments{ | ||
\item{x}{Object to coerce to \code{\link{regex}}.} | ||
|
||
\item{...}{further arguments passed to methods.} | ||
} | ||
\description{ | ||
Coerce objects to a \code{\link{regex}}. | ||
} | ||
\section{Methods (by class)}{ | ||
\itemize{ | ||
\item \code{default}: Simply escape the Object. | ||
}} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,37 @@ | ||
% Generated by roxygen2 (4.0.2.9000): do not edit by hand | ||
\name{regex} | ||
\name{as.character.regex} | ||
\alias{as.character.regex} | ||
\alias{c.regex} | ||
\alias{print.regex} | ||
\alias{regex} | ||
\title{Regular Expression} | ||
\usage{ | ||
regex(x) | ||
\method{as.character}{regex}(x, ...) | ||
|
||
\method{c}{regex}(...) | ||
|
||
\method{print}{regex}(x, ...) | ||
|
||
regex(x, ...) | ||
} | ||
\arguments{ | ||
\item{x}{Object to be coerced to a regex.} | ||
\item{x}{Object} | ||
|
||
\item{...}{further arguments} | ||
} | ||
\description{ | ||
Specify an explicit regular expression. This expression must already be | ||
escaped. | ||
} | ||
\section{Methods (by generic)}{ | ||
\itemize{ | ||
\item \code{as.character}: coerce regex object to a character | ||
|
||
\item \code{c}: concatenate regex | ||
|
||
\item \code{print}: Print regex object | ||
}} | ||
\seealso{ | ||
\code{\link{as.regex}} to coerce to a regex object. | ||
} | ||
|