Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Port r51631 from trunk

git-svn-id: https://svn.r-project.org/R/branches/R-2-10-branch@51633 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
commit 15335d2deeac0ac71d9f936881ab596d51beff85 1 parent 9da80c8
murdoch authored
Showing with 4 additions and 1 deletion.
  1. +3 −0  NEWS
  2. +1 −1  src/library/tools/R/readNEWS.R
View
3  NEWS
@@ -32,6 +32,9 @@ NEW FEATURES
o The PCRE library has been updated to version 8.01, a bug-fix
release.
+
+ o tools::readNEWS() now accepts a digit as the first character
+ of a news section.
BUG FIXES
View
2  src/library/tools/R/readNEWS.R
@@ -100,7 +100,7 @@ readNEWS <- function(file = file.path(R.home(), "NEWS"),
## Arguments: ll: lines of text (character vector)
## ver: version number of version, e.g., '2.2.1 patched'
if(trace) cat(" parseVersion(*, ver =", ver,"),")
- s.pre <- "^[A-Z]+"
+ s.pre <- "^[A-Z0-9]+"
iC <- grep(s.pre, ll)
if(trace) cat(" with ", length(iC), "sections\n")
sections <- as.list(iC)
Please sign in to comment.
Something went wrong with that request. Please try again.