[packages/pldcpan] - updated pldcpan.pl to treat '_' as legal module name part character instead of possible separator

qboosh qboosh at pld-linux.org
Fri Jul 28 15:30:14 CEST 2023


commit f8ad9641f9f2ffb2a761933ebc571834ea87a9bd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jul 28 14:29:09 2023 +0200

    - updated pldcpan.pl to treat '_' as legal module name part character instead of possible separator

 pldcpan.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pldcpan.pl b/pldcpan.pl
index 347d650..c208224 100755
--- a/pldcpan.pl
+++ b/pldcpan.pl
@@ -121,10 +121,10 @@ sub test_directory {
 		$fooball =~ m#^
 		(?:.*/)?
 		(
-		  [a-z][a-z\d]* 
+		  [a-z][a-z_\d]*
 		  (?:
-			([-_])[a-z][a-z\d]*
-			(?: \2[a-z][a-z\d]*)*
+			(-)[a-z][a-z_\d]*
+			(?: -[a-z][a-z_\d]*)*
 		  )?
 		)
 		-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pldcpan.git/commitdiff/0cdbb67cfa96d299dd77ee0888797507a46d7cb7



More information about the pld-cvs-commit mailing list