lib.types.filename.check: remove unnecessary ()
This commit is contained in:
parent
eef0b6e479
commit
7ab31ffeb0
@ -539,7 +539,7 @@ rec {
|
||||
# POSIX.1‐2013, 3.278 Portable Filename Character Set
|
||||
filename = mkOptionType {
|
||||
name = "POSIX filename";
|
||||
check = test "([0-9A-Za-z._])[0-9A-Za-z._-]*";
|
||||
check = test "[0-9A-Za-z._][0-9A-Za-z._-]*";
|
||||
merge = mergeOneOption;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user