Duration parsing for serialized .NET TimeSpan

refactored regex, location of the expression variable and application of
the expression