Skip to content

Commit

Permalink
Release: cran 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qinwf committed Sep 13, 2017
1 parent bfecd88 commit d511fbf
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 16 deletions.
12 changes: 9 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
Package: re2r
Type: Package
Title: RE2 Regular Expression
Version: 0.1.9999
Version: 0.2.0
Authors@R: c(
person("Qin Wenfeng", email = "[email protected]", role = c("aut", "cre")),
person("Toby Dylan Hocking", role = "ctb", comment = "benchmarks"),
person("Marek Gagolewski", role = "ctb", comment = "stringi benchmarks and test cases"),
person("RE2 developers", role = "ctb", comment = "RE2 library"),
person("Google Inc.", role = c("ctb", "cph"), comment = "RE2 library"),
person("Lucent Technologies", role = c("ctb", "cph"), comment = "RE2 library"),
person("Rob Pike", role = "ctb", comment = "RE2 library"),
person("Ken Thompson", role = "ctb", comment = "RE2 library"),
person("Julian Seward", role = c("ctb", "cph"), comment = "valgrind.h"),
person("Andrzej Krzemienski", role = "ctb", comment = "optional.hpp"),
person("Jeffrey Avallone", role = "ctb", comment = "regexper library")
)
Maintainer: Qin Wenfeng <[email protected]>
Description: RE2 is a primarily Deterministic Finite Automaton based regular expression engine from Google that is very fast
at matching large amounts of text.
Description: RE2 <https://github.com/google/re2> is a primarily deterministic finite automaton based regular expression engine from Google that is very fast
at matching large amounts of text.
License: BSD_3_clause + file LICENSE
LazyData: TRUE
Depends: R (>= 3.3)
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
YEAR: 2016-2017
COPYRIGHT HOLDER: Qin Wenfeng
ORGANIZATION: Xiamen University
4 changes: 2 additions & 2 deletions R/match.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@
#' re2_match_all(texts, pattern)
#'
#' texts = c("pi is 3.14529..",
#' "-15.34 °F",
#' "-15.34 F",
#' "128 days",
#' "1.9e10",
#' "123,340.00$",
#' "only texts")
#' (number_pattern = re2(".*?(?P<number>-?\\d+(,\\d+)*(\\.\\d+(e\\d+)?)?).*?"))
#' (number_pattern = re2(".*?(?P<number>-?\\d+(,\\d+)*(\\d+(e\\d+)?)?).*?"))
#'
#' (res = re2_match(texts, number_pattern))
#' res$number
Expand Down
17 changes: 8 additions & 9 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Changes from the last submission:

1. Update authors with copyright holders.

Thanks!

Test environments

1. local OS X install, release and devel
Expand Down Expand Up @@ -25,17 +31,10 @@ R CMD check results:

* checking CRAN incoming feasibility
Maintainer: ‘Qin Wenfeng <[email protected]>
License components with restrictions and base license
permitting such:
BSD_3_clause + file LICENSE
File 'LICENSE':
YEAR: 2016-2017
COPYRIGHT HOLDER: Qin Wenfeng


Possibly mis-spelled words in DESCRIPTION:
RE2 (3:8, 13:14)


Ubuntu with Valgrind Result:

==92== Use of uninitialised value of size 8
Expand Down Expand Up @@ -64,4 +63,4 @@ Ubuntu with UBSAN Result:
dfa.cc:1385:36: runtime error: index 1 out of bounds for type 'atomic [0x10000000000000000]'
dfa.cc:1471:41: runtime error: index 2 out of bounds for type 'atomic [0x10000000000000000]'

This is expected. More discussion on https://github.com/google/re2/issues/102#issuecomment-268752821
This result is expected. More discussion on https://github.com/google/re2/issues/102#issuecomment-268752821
4 changes: 2 additions & 2 deletions man/re2_match.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d511fbf

Please sign in to comment.