Fibonacci: Removing my incredibly elegent solution for minor syntax highlighting issues in VSCode

master
Rob Emery 2016-05-15 19:42:47 +01:00
parent 24b58cddd3
commit 76881479e0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ my @fib = (0, 1);
handle remainder => sub {
s/^\s+//;
s/\s+$//;
return unless /^(?:what(?:'s| is) the )?(?<which>\d+)(?:th|rd|st)?(?: number)?(?: in the (?:series|sequence))?\??$/ && $1 <= 1470; #' (hack for broken syntax highlighting)
return unless /^(?:what(?:'s| is) the )?(?<which>\d+)(?:th|rd|st)?(?: number)?(?: in the (?:series|sequence))?\??$/ && $1 <= 1470;
my $n = $+{'which'};
if ($#fib < $n) {