update regular expression to limit by start and end, with or without white space
re_just(x, whitespace_ok = FALSE)re_just_ws(x)
re_wrap_or(x)
single string containing a regular expression
Single logical, if TRUE, the default, matches for
ICD codes will accept leading and trailing white space.
re_just_ws: allow white space
re_wrap_or: contain any | options within a regular expression,
e.g. ICD-9 codes without ^ or $.