Another good idea Phil,<br><div><span class="gmail_quote"></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>The macro would read the entire list into a dict or a list. Then, it
<br>could go through the macro arguments one by one and try to match them to<br>a row in the dict, outputting the version string which corresponds to<br>that keyword. This would remove the need to import re too.</blockquote>
<div><br><br>In version 5 I've reworked the code to parse a UbuntuVersions page that looks like what you suggested.  Basically this format:<br><br>feisty, Ubuntu 7.06 (Feisty Fawn);<br>gutsy, Ubuntu 7.10 (Gutsy Gibbon);
<br><br>I also imported a text file of the UbuntuVersions I parsed for testing it has all the misspellings I could think of... heh.  The dictionary idea worked great for me, but let me know what you think.<br></div><br><a href="https://code.launchpad.net/~asommer70/+junk/misc">
https://code.launchpad.net/~asommer70/+junk/misc</a><br><br></div>-- <br>Party On,<br>Adam