The R Project SVN R

Rev

Rev 86488 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86488 Rev 86549
Line 44... Line 44...
44
}
44
}
45
\author{Martin Maechler, Unix/sed based version, 1991; current: 2004}
45
\author{Martin Maechler, Unix/sed based version, 1991; current: 2004}
46
\seealso{
46
\seealso{
47
  \code{\link{regexp}} about regular expression,
47
  \code{\link{regexp}} about regular expression,
48
  \code{\link{sub}}, etc about substitutions using regexps.
48
  \code{\link{sub}}, etc about substitutions using regexps.
49
  \code{\link{Sys.glob}} does wildcard expansio, i.e., \dQuote{globbing} on
49
  \code{\link{Sys.glob}} does wildcard expansion, i.e., \dQuote{globbing} on
50
  file paths more subtly, e.g., allowing to escape special characters.
50
  file paths more subtly, e.g., allowing to escape special characters.
51
}
51
}
52
\examples{
52
\examples{
53
stopifnot(glob2rx("abc.*") == "^abc\\\\.",% '\\' doubled in Rd file!
53
stopifnot(glob2rx("abc.*") == "^abc\\\\.",% '\\' doubled in Rd file!
54
          glob2rx("a?b.*") == "^a.b\\\\.",
54
          glob2rx("a?b.*") == "^a.b\\\\.",