regex boundary update