Maybe not right now, but I wonder if this script should take the location of the regulation text, and the part number as command line arguments - so it's easily extensible to other regulations when the time comes.