Skip to contents

Helper to return a regex based on side

Usage

digit_pattern(pattern = "[0-9]+", side = NULL)