solved bugs:
* incorrect regex expressions for tags
* attachment name

Signed-off-by: Fábio André <fabio.a.s.dias@gmail.com>