You can't do regex at this stage, but you can specify the extensions to include.
vsAgent
vsAgent is a java application which exposes files on the server it is running on. It can be
configured to only expose files in certain directories with given extensions, and even within a
specified maximum age.
A vsAgent configuration looks something like the following:
# Global
port=8081
# Only expose files that have been modified with the last [maxage] days
maxage=1
# Global extension filter
## All files exposed will have one of the following extensions.
fileview.extension=properties
fileview.extension=log
fileview.extension=txt
# Directories
# [directory path];[semicolon separated list of extensions]
#
# Since the global extension filter is always applied, you only need
# to specify extensions here if you want to specify a subset of the
# global extensions.
## exposes all files in these directories that have one of the global
## extensions
fileview.directory=/var/log
fileview.directory=/var/tmp
## only exposes *.log and *.txt here, does not expose *.properties
fileview.directory=/tmp;log;txt