Skip to content

Commit 4bfe67a

Browse files
committed
extend top level func regex to include _ce and _dir options in file name
1 parent 5e5f8fc commit 4bfe67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bids-validator/bids_validator/rules/top_level_rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"func_top": {
3-
"regexp": "^\\/(?:ses-[a-zA-Z0-9]+_)?(?:recording-[a-zA-Z0-9]+_)?task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?(@@@_func_top_ext_@@@)$",
3+
"regexp": "^\\/(?:ses-[a-zA-Z0-9]+_)?(?:recording-[a-zA-Z0-9]+_)?task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_ce-[a-zA-Z0-9]+)?(?:_dir-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?(@@@_func_top_ext_@@@)$",
44
"tokens": {
55
"@@@_func_top_ext_@@@": [
66
"_bold\\.json",

0 commit comments

Comments
 (0)