From: jmc Date: Sat, 4 Jan 2014 18:27:03 +0000 (+0000) Subject: accept [0-9]lua as a valid section name (netbsd only); X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=524662ae375f02e3ed82153e0f575194648fe45e;p=openbsd accept [0-9]lua as a valid section name (netbsd only); from wiz@netbsd --- diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint index fa84ef639ca..811873eba28 100644 --- a/regress/usr.bin/mdoclint/mdoclint +++ b/regress/usr.bin/mdoclint/mdoclint @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: mdoclint,v 1.39 2013/09/30 18:27:17 jmc Exp $ +# $OpenBSD: mdoclint,v 1.40 2014/01/04 18:27:03 jmc Exp $ # $NetBSD: mdoclint,v 1.43 2013/09/30 09:36:45 wiz Exp $ # # Copyright (c) 2001-2013 Thomas Klausner @@ -219,8 +219,8 @@ my $valid_date_re; $esections_re = qr{(?:3p|[0-9])}o; } if (NETBSD) { - $sections_re = qr{[1-9]}o; - $esections_re = qr{[0-9]}o; + $sections_re = qr{[1-9](?:lua)?}o; + $esections_re = qr{[0-9](?:lua)?}o; } if (OPENBSD) { $valid_date_re = qr{\$Mdocdate\b};