epiverse-trace / simulist

An R package for simulating line lists
https://epiverse-trace.github.io/simulist/
Other
5 stars 1 forks source link

Improve regex pattern in `.check_age_df()` #128

Closed joshwlambert closed 5 months ago

joshwlambert commented 5 months ago

This PR improves the regex matching pattern used in .check_age_df() to ensure the age ranges for each demographic group are specified correctly. The new regex pattern was suggested by @pratikunterwegs in PR #117.