Restored previous version

This commit is contained in:
Luca Frosini 2022-04-28 15:11:39 +02:00
parent 5c22db37c7
commit 623a5120df
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class CKANGroup extends CKAN {
if(groupName == null)
return null;
String regexGroupNameTransform = "[^A-Za-z0-9-_]";
String regexGroupNameTransform = "[^A-Za-z0-9-]";
String modified = groupName.trim().replaceAll(regexGroupNameTransform, "-").replaceAll("-+", "-").toLowerCase();
if(modified.startsWith("-"))