Added feature to pass regex pattern to -t  option

Added feature to pass Python regular expression patterns
to -t option in the command line.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>