default $PATTERN to "v" correctly