parse_change_id

Function parse_change_id 

Source
pub fn parse_change_id(input: &str) -> Option<(String, String)>
Expand description

Parse a change identifier and return the normalized module ID and change number.

Handles various formats:

  • 005-01_my-change -> ("005", "01")
  • 5-1_whatever -> ("005", "01")
  • 1-2 -> ("001", "02")
  • 001-000002_foo -> ("001", "02")