change regex in show_period_test.sh