rename_via_pattern_byname function

Rename row or column names via regexp pattern