Skip to content

Commit

Permalink
updated alligment regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Rinker committed Dec 19, 2017
1 parent f20db7d commit ea871fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/alignment.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#' print(include.rownames = FALSE)
#' }
alignment <- function(x, left = 'left', right = ifelse(left == 'l', 'r', 'right'),
additional.numeric = "^((<b>(&ndash;|\\+)</b>)|<[0-9.%-]+)|(<?\\$?\\s*\\d+[KBM]))$", sep = NULL, ...){
additional.numeric = "^((<b>(&ndash;|\\+)</b>)|(<?([0-9.%-]+)|(\\$?\\s*\\d+[KBM])))$", sep = NULL, ...){

stopifnot(is.data.frame(x))

Expand Down
2 changes: 1 addition & 1 deletion man/alignment.Rd

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

0 comments on commit ea871fd

Please sign in to comment.