Deleted unnecessary lines

master
Matt Lehning 2013-03-06 17:15:02 -05:00
parent 1824aceb26
commit af02a51858
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ triggers any => 'hijri', 'gregorian';
handle query_lc => sub { handle query_lc => sub {
# return unless my ($gd, $gm, $gy, $gh) = $_ =~ /^(?:convert)?\s*(\d{0,2})(?:\/|\,)(\d{0,2})(?:\/|\,)(\d{3,4})\s*(?:to|in)\s*(hijri|gregorian)?\s*(?:years|date?)?$/;
return unless my ($gd, $gm, $gy, $gh) = $_ =~ /^(\d{0,2})(?:\/|\,)(\d{0,2})(?:\/|\,)(\d{3,4})\s+(?:on\s+the|in)\s+(?:gregorian|hijri)\s+(?:calendar|date|time)\s+is\s+(?:on\s+the|in)\s+(gregorian|hijri)\s+(?:calendar|date|time)$/; return unless my ($gd, $gm, $gy, $gh) = $_ =~ /^(\d{0,2})(?:\/|\,)(\d{0,2})(?:\/|\,)(\d{3,4})\s+(?:on\s+the|in)\s+(?:gregorian|hijri)\s+(?:calendar|date|time)\s+is\s+(?:on\s+the|in)\s+(gregorian|hijri)\s+(?:calendar|date|time)$/;
last if($gd>31); last if($gd>31);
last if($gm>12); last if($gm>12);