do some validation of subdirfmt string