Commit cf397be
committed
Use a MULTILINE anchored regex when removing carriage returns
This seems a lot faster on long strings (8s down to 8ms for a 120000
character string).1 parent 26555e5 commit cf397be
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
798 | | - | |
| 798 | + | |
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| |||
0 commit comments