Improve RFC-5424 app and proc names matching

This commit makes its possible for the SYSLOG5424BASE pattern to match logs whose app or proc fields contain dashes.