mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 13:52:37 +00:00
Quote keyword replacement for s///
This commit is contained in:
parent
de9074b0d9
commit
9ecc5f22b1
@ -333,7 +333,7 @@ sub print_source_code {
|
||||
$line =~ s/&/&/g;
|
||||
$line =~ s/</</g;
|
||||
$line =~ s/>/>/g;
|
||||
$line =~ s|$keyword|<b>$keyword</b>|g;
|
||||
$line =~ s|\Q$keyword\E|<b>$keyword</b>|g;
|
||||
print "<font color='red'>" if $line_index == $linenum;
|
||||
print "$line_index $line<BR>";
|
||||
print "</font>" if $line_index == $linenum;
|
||||
|
Loading…
x
Reference in New Issue
Block a user