Add new condition - Regular Expression

Flatten all conditions to discard builds

Signed-off-by: Joey Jiao <joey.jiaojg@gmail.com>
Merge pull request #2 from JoeyJiao/master

Re-org discard builds condition and Add Reg exp condition