Skip to content

Commit

Permalink
Merge d6e1c11 into dc9c537
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag authored Oct 25, 2023
2 parents dc9c537 + d6e1c11 commit 9bdd78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parseOSD_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
.parse_pH <- function(text) {

# combine into capturing REGEX
ph.regex <- '\\(ph\\s?([0-9]\\.[0-9])\\)'
ph.regex <- '\\(ph\\s?([0-9]\\.?[0-9]?)\\)'

# get matches
m <- stringi::stri_match(text, regex = ph.regex, mode = 'first', opts_regex = list(case_insensitive = TRUE))
Expand Down

0 comments on commit 9bdd78a

Please sign in to comment.