Fix regex Format Profile and Handbrake scan

Compile regex with flags will fix matches problems