<p>
Ken recently asked Dave for help with a Perl regular expression for
parsing ISO8601 time durations. As a consequence a Perl script was
written, which is available at
<a href="https://gitlab.com/davmo/hprmisc/blob/master/parse_8601_duration">https://gitlab.com/davmo/hprmisc/blob/master/parse_8601_duration</a>.
</p>
<p>
In this show Ken and Dave discuss this script at some (considerable)
length. Keen listeners might want to view the script as they listen.
<a href="https://hackerpublicradio.org/eps/hpr1291/hpr1291/index.html">Detailed show notes describing how to put together a Perl regular expression are also available</a>.
</p>
<p>
Unfortunately some of the line numbers in the script referred to in the
show are now incorrect since Dave could not stop himself updating it.
</p>
<p>
For detailed show notes on how Dave created the script see:
</p>

<ul>
<li><a href="https://hackerpublicradio.org/eps/hpr1291/hpr1291/index.html">Detailed notes</a></li>
<li>For a html version of the script see:<a href="https://hackerpublicradio.org/eps/hpr1291/hpr1291/parse_8601_duration.html">parse_8601_duration.html</a>
</li>
<li>Computer Books v Math: <a href="https://abstrusegoose.com/strips/i_never_would_have_passed_kindergarten.png">https://abstrusegoose.com/strips/i_never_would_have_passed_kindergarten.png</a></li>
<li>XKCD ISO8601: <a href="https://sslimgs.xkcd.com/comics/iso_8601.png">https://sslimgs.xkcd.com/comics/iso_8601.png</a></li>
<li>Sams Teach Yourself Perl in 24 Hours (3rd Edition): <a href="https://www.amazon.com/dp/0672327937">https://www.amazon.com/dp/0672327937</a></li>
</ul>
