regexf compares whether a name matches regular expressions listed in a file

For help: regexf -h

usage: regexf [-h] [-v] [-s SECTION] [-f FILE] [patterns [patterns ...]]

Compare input patterns to regexf patterns in a regexf.ini file

positional arguments:
  patterns              regexf pattern (e.g. regexf -v aa/bb/cc vac/myvac1/1)

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         increase output verbosity using -v,-vv
  -s SECTION, --section SECTION
                        Specify section (default='default')
  -f FILE, --file FILE  Specify regexf file (default=/usr/local/bin/regexf.ini)
                        e.g. regexf -f ~/myregexf.ini vac/bb/cc

Install on debian or ubuntu
sudo pip install ConfigParser
sudo pip install regexf

------- will run unit tests.
scadat has been tested on debian and ubuntu but should run on other os

e.g To check if your name matches those in /usr/local/bin/regexf.ini
#regexf test:bb:cc -v
/usr/local/bin/regexf.ini:re.match no_match

Define your own regexf in file myfile.ini
#regexf -f myfile.ini test:bb:cc -v

1. Regular expressions use python module re.match
2. contact martinmohan(at) to report bugs

v,  -- Initial release.
0.1.0,(23/11/2014) Initial
0.2.1,(15/09/2016) Removed some old stuff