Skip to content

Commit

Permalink
added underscore to project name regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed May 17, 2023
1 parent 91d59ad commit 8e29c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/library/util/Reflective.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void newRascalProject(loc folder, str group="org.rascalmpl", str version="0.1.0-
}
str name = folder.file;
if (/[^a-z0-9\-]/ := name) {
if (/[^a-z0-9\-_]/ := name) {
throw "Folder <name> should have only lowercase characters, digits and dashes from [a-z0-9\\-]";
}
Expand Down

0 comments on commit 8e29c2d

Please sign in to comment.