From 3005666b5e111121ce11e2207667f26b1ee26fee Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Tue, 30 Nov 1999 00:56:04 +0000 Subject: [PATCH] Make regex for matching module names more general. r=mcafee --- tools/build/check-modules.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/build/check-modules.pl b/tools/build/check-modules.pl index 551f4be0a87..85a9f463f69 100755 --- a/tools/build/check-modules.pl +++ b/tools/build/check-modules.pl @@ -27,7 +27,7 @@ # # Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com). -# $Id: check-modules.pl,v 1.2 1999-11-06 03:36:04 dmose%mozilla.org Exp $ +# $Id: check-modules.pl,v 1.3 1999-11-30 00:56:04 slamm%netscape.com Exp $ require 5.004; @@ -60,7 +60,6 @@ foreach $module (@module_names) &check_module($module); } - # end main ###################################################################### # begin subroutines @@ -83,7 +82,7 @@ sub parse_input next if /^\#/ || /^\s*$/; # Check for a module definition - if (/^([a-zA-Z]+)\s+-a\s*(.*)$/) + if (/^([_a-zA-Z0-9]+)\s+(?:-l\s+)?-a\s*(.*)$/) { my ($module_name) = $1; my (@sub_items) = ();