This script uses the known-issues.json file owned by the pipeline-csv.ps1 script. The match_flag behavior is different than the script. This PR fixes that.
The pipeline-csv.ps1 script prepends the match with (?m) if match_flag is equal to multiline and if it isn't, it prepends the match with (?s) if match_flag equals dotmatchall. If the match_all field doesn't match either then the flags used are not modified.
This script uses the
known-issues.json
file owned by thepipeline-csv.ps1
script. Thematch_flag
behavior is different than the script. This PR fixes that.The pipeline-csv.ps1 script prepends the match with
(?m)
ifmatch_flag
is equal tomultiline
and if it isn't, it prepends the match with(?s)
ifmatch_flag
equalsdotmatchall
. If the match_all field doesn't match either then the flags used are not modified.(?m)
:^$
match line endings instead of string endings(?s)
:.
matches carriage return and linefeed characterspipeline-csv.ps1 script
uses-match
which in powershell is a synonym for-imatch
, which is a case insensitive matchIn javascript, the equivalent of:
(?m)
ism
(?s)
iss
(already handled)-match
isi