The R Project SVN R

Rev

Rev 59736 | Rev 64587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59736 Rev 61433
Line 307... Line 307...
307
  match the \code{\dots} forward from the current position would succeed
307
  match the \code{\dots} forward from the current position would succeed
308
  (or not), but use up no characters in the string being processed.
308
  (or not), but use up no characters in the string being processed.
309
  Patterns \samp{(?<=...)} and \samp{(?<!...)} are the lookbehind
309
  Patterns \samp{(?<=...)} and \samp{(?<!...)} are the lookbehind
310
  equivalents: they do not allow repetition quantifiers nor \samp{\\C}
310
  equivalents: they do not allow repetition quantifiers nor \samp{\\C}
311
  in \code{\dots}.
311
  in \code{\dots}.
312
  
312
 
313
  As from \R 2.14.0 \code{regexpr} and \code{gregexpr} support
313
  As from \R 2.14.0 \code{regexpr} and \code{gregexpr} support
314
  \sQuote{named capture}.  If groups are named, e.g.,
314
  \sQuote{named capture}.  If groups are named, e.g.,
315
  \code{"(?<first>[A-Z][a-z]+)"} then the positions of the matches are
315
  \code{"(?<first>[A-Z][a-z]+)"} then the positions of the matches are
316
  also returned by name.  (Named backreferences are not supported by
316
  also returned by name.  (Named backreferences are not supported by
317
  \code{sub}.)
317
  \code{sub}.)