Help for this page
Formal Definition: The value type is defined by the following notation: ... dur-minute = 1*DIGIT "M" [dur-second] dur-second = 1*DIGIT "S" dur-day = 1*DIGIT "D"
my @temp = $str =~ m{ ([\+\-])? (?# Sign) ... (?:(\d+)S)? (?# Seconds) )? }x;