mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
8ca44828b2
Unescaped left brace in regex is illegal in regex when not used as a quantifier. - /foo{3}/ will match foofoofoo. - /\\new{bar}/ is illegal and should be written as /\\new\{bar}/. PR: 226817 Sponsored by: Absolight
12 lines
313 B
Perl
12 lines
313 B
Perl
--- versions/html4_0.pl.orig 2018-03-28 15:49:41 UTC
|
|
+++ versions/html4_0.pl
|
|
@@ -955,7 +955,7 @@ sub process_tabular {
|
|
|
|
if ($color_env) {
|
|
local($color_test) = join(',',@$open_tags_R);
|
|
- if ($color_test =~ /(color{[^}]*})/g ) {
|
|
+ if ($color_test =~ /(color\{[^}]*})/g ) {
|
|
$color_env = $1;
|
|
}
|
|
}
|