Help for this page

Select Code to Download


  1. or download this
       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"
    
  2. or download this
        my @temp = $str =~ m{
                ([\+\-])?   (?# Sign)
    ...
                    (?:(\d+)S)? (?# Seconds)
                )?
                  }x;