Fix regex Format Profile and Handbrake scan

Regex compile with flags, fix matches problems