Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/notes/common Fix typo in regexp to detect m4 comments.
details: https://anonhg.NetBSD.org/src/rev/9b56d1a29246
branches: trunk
changeset: 465736:9b56d1a29246
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Dec 03 01:52:04 2019 +0000
description:
Fix typo in regexp to detect m4 comments.
diffstat:
distrib/notes/common/extract-contrib-string.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 721438ffa204 -r 9b56d1a29246 distrib/notes/common/extract-contrib-string.pl
--- a/distrib/notes/common/extract-contrib-string.pl Tue Dec 03 01:45:34 2019 +0000
+++ b/distrib/notes/common/extract-contrib-string.pl Tue Dec 03 01:52:04 2019 +0000
@@ -225,7 +225,7 @@
$msg =~ s/^REM\s*//g; # BASIC?!?
$msg =~ s/\nREM\s*/\n/g; # BASIC?!?
$msg =~ s/^dnl\s*//g; # m4
- $msg =~ s/\dnl\s*/\n/g; # m4
+ $msg =~ s/\ndnl\s*/\n/g; # m4
$msg =~ s/^\s+-\s+//g; # seen in docbook files
$msg =~ s/\n\s+-\s+/ /g; #
$msg =~ s/^[#\\\|";]+\s*//g; # sh etc.
Home |
Main Index |
Thread Index |
Old Index