[#476] Fix platform add regex to ignore options.