commit regex