(?m)applies the following effective flags to the remainder of the pattern: gmi m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
^start of line
Computerthe literal text Computer (case insensitive) \r?optionally matches a carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
.+any character (except for line terminators), repeated at least once
\r?optionally matches a carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
Non-Capturing Group(?:fPromptForPassword|AllowLocalPolicyMerge|AllowLocalIPsecPolicyMerge) 1st AlternativefPromptForPassword fPromptForPasswordthe literal text fPromptForPassword (case insensitive) 2nd AlternativeAllowLocalPolicyMerge AllowLocalPolicyMergethe literal text AllowLocalPolicyMerge (case insensitive) 3rd AlternativeAllowLocalIPsecPolicyMerge AllowLocalIPsecPolicyMergethe literal text AllowLocalIPsecPolicyMerge (case insensitive) \r?optionally matches a carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
.+any character (except for line terminators), repeated at least once
Non-Capturing Group(?:\r?\n)? ?repeats the group contents below at most once:
\r?optionally matches a carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters