From 66635da9cc5c78844251d10739fec158eba5febb Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 22 May 2015 03:58:28 -0700 Subject: [PATCH] Don't bold "this" or "these" embedded in other words --- modules/cjeopardy/cjeopardy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cjeopardy/cjeopardy.pl b/modules/cjeopardy/cjeopardy.pl index 1368fc8c..7709ad19 100755 --- a/modules/cjeopardy/cjeopardy.pl +++ b/modules/cjeopardy/cjeopardy.pl @@ -97,7 +97,7 @@ chomp $a; $q =~ s/\\\|/|/g; $q =~ s/^\[.*?\]\s+//; -$q =~ s/(this keyword|this operator|this behavior|this preprocessing directive|this escape sequence|this mode|this function specifier|this function|this macro|this predefined macro|this header|this pragma|this fprintf length modifier|this storage duration|this type qualifier|this type|this value|this operand|this many|this|these)/$color{bold}$1$color{reset}/gi; +$q =~ s/\b(this keyword|this operator|this behavior|this preprocessing directive|this escape sequence|this mode|this function specifier|this function|this macro|this predefined macro|this header|this pragma|this fprintf length modifier|this storage duration|this type qualifier|this type|this value|this operand|this many|this|these)\b/$color{bold}$1$color{reset}/gi; print "$q\n"; open $fh, ">", "$CJEOPARDY_DATA-$channel" or die "Could not open $CJEOPARDY_DATA-$channel: $!";