Help for this page
if ( $value and $value !~ /^(?:(\d+)d)?(?:\s*(\d+)h)?$/i ) { ... $day = $1 || 0; $hour = $2 || 0; }