The export dataset function is supposed to filter out new lines but the regex to replace newline characters is wrong so it doesn't actually work.
The regex to replace with the empty string is currently: \\P{Cc}\\P{Cn}\\P{Cs}\\P{Cf} but it should be something like [\\p{Cc}\\p{Cn}\\p{Cs}\\p{Cf}] to achieve the goals of filtering out the various character classes.
The export dataset function is supposed to filter out new lines but the regex to replace newline characters is wrong so it doesn't actually work.
The regex to replace with the empty string is currently:
\\P{Cc}\\P{Cn}\\P{Cs}\\P{Cf}
but it should be something like[\\p{Cc}\\p{Cn}\\p{Cs}\\p{Cf}]
to achieve the goals of filtering out the various character classes.