diff --git a/utils/type.js b/utils/type.js index e7064fba5..0173536e9 100644 --- a/utils/type.js +++ b/utils/type.js @@ -88,7 +88,7 @@ module.exports = { var funcSesRe = new RegExp('^\\/(sub-[a-zA-Z0-9]+)' + '\\/(?:(ses-[a-zA-Z0-9]+)' + - '\\/)?\\1(_\\2)?task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?' + '\\/)?\\1(_\\2)?_task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?' + '(_bold.json|_sbref.json|_events.json|_events.tsv|_physio.json|_stim.json)$'); var anatSesRe = new RegExp('^\\/(sub-[a-zA-Z0-9]+)' +