Skip to content

Commit ea20164

Browse files
committed
fix regex
1 parent a1fd023 commit ea20164

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
@@ -21,7 +21,7 @@ public class Views.Form : Adw.Bin {
2121
Regex? identifier_regex = null;
2222
try {
2323
project_name_regex = new Regex ("^[a-z]+[a-z0-9]*$");
24-
identifier_regex = new Regex ("^[a-z]+\\.[a-z0-9]+(\\.[a-z0-9]+)*$");
24+
identifier_regex = new Regex ("^[a-z]+\\.[a-z0-9_]+(\\.[a-z0-9_]+)*$");
2525
} catch (Error e) {
2626
critical (e.message);
2727
}

0 commit comments

Comments
 (0)