Evaluate dynamic fields in event when used with gsub

Closes #1529
Add tests for issue to reproduce behavior

Fix break_on_match issue while evaluating multiple patterns

Closes #1547

Make better exception message

Add more specs for inputs with arrays

Closes #1547