[docs] [issue30004] in regex-howto, improve example on grouping