This seems like a basic question but I couldn't figure it out after spending a good part of the morning researching.
I want to understand why using stringr::str_match() in R
NP_[0-9][.0-9]+ or NP_[0-9]+[.0-9]{2}
and not NP_[0-9]+[.0-9] or NP_[0-9]+[.0-9]{1}
matches NP_848713.1 in
string1<-c("It_is_burried_in_here_NP_848713.1_somewhere")
Thanks
