<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,7 +51,7 @@ chomp($verstring);
 
 # This gets us:
 #  $1.$2.$3.$4-$5-$6
-my $component_pattern = &quot;([0-9]+)[.]([0-9]+)[.]([0-9]+)(?:[.]([0-9]+))?(?:(?:-([a-zA-Z]+[0-9]+))?(?:-([0-9]+)-g[a-fA-F0-9]+)?)?&quot;;
+my $component_pattern = &quot;[v]?([0-9]+)[.]([0-9]+)[.]([0-9]+)(?:[.]([0-9]+))?(?:(?:-([a-zA-Z]+[0-9]+))?(?:-([0-9]+)-g[a-fA-F0-9]+)?)?&quot;;
 
 if ($verstring =~ $component_pattern) {
 } else {
@@ -70,7 +70,7 @@ if ( !$commit ) {
 }
 
 # This gets us just the tag:
-my $tag_pattern = &quot;([0-9]+[.][0-9]+[.][0-9]+(?:[.][0-9]+)?(?:(?:-[a-zA-Z]+[0-9]+)?))&quot;;
+my $tag_pattern = &quot;([v]?[0-9]+[.][0-9]+[.][0-9]+(?:[.][0-9]+)?(?:(?:-[a-zA-Z]+[0-9]+)?))&quot;;
 
 if ($verstring =~ $tag_pattern) {
 } else {</diff>
      <filename>tools/gen_buildnum_h.pl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>709868c09c287401f9fe29b72c4a297b94dfcafc</id>
    </parent>
  </parents>
  <author>
    <name>Steven Noonan</name>
    <email>steven@uplinklabs.net</email>
  </author>
  <url>http://github.com/tycho/crisscross/commit/4db695de85017f162043d5037272c9b14f6affad</url>
  <id>4db695de85017f162043d5037272c9b14f6affad</id>
  <committed-date>2009-07-06T02:22:07-07:00</committed-date>
  <authored-date>2009-07-06T01:59:28-07:00</authored-date>
  <message>gen_buildnum_h: allow optional 'v' prefix to tag

Signed-off-by: Steven Noonan &lt;steven@uplinklabs.net&gt;</message>
  <tree>91c660d6a372dfd259012a72ff64c0b9690da998</tree>
  <committer>
    <name>Steven Noonan</name>
    <email>steven@uplinklabs.net</email>
  </committer>
</commit>
