Skip to content

Commit 4f5f79a

Browse files
authored
fix regex (#15)
1 parent 4b7ba83 commit 4f5f79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/Form.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class Views.Form : Adw.Bin {
2727
Regex? identifier_regex = null;
2828
try {
2929
project_name_regex = new Regex ("^[a-z]+[a-z0-9]*$");
30-
identifier_regex = new Regex ("^[a-z]+\\.[a-z0-9]+(\\.[a-z0-9]+)*$");
30+
identifier_regex = new Regex ("^[a-z]+\\.[a-z0-9_]+(\\.[a-z0-9_]+)*$");
3131
} catch (Error e) {
3232
critical (e.message);
3333
}

0 commit comments

Comments
 (0)