7 $text =~ s/&\#([0-9]*);/ \#\1 /g;
9 while ($text =~ s/([A-ZÐ])\. ([A-ZÐ])/\1.\2/g) {}
11 $chars = "a-záàäãÕ⤥¦ç§åå¡¢ÆÇ£éè먩ꪫ¬®íìïî¸óòöõ÷ô¯°±²µ½¾¶·ÞþúùüûøßÑ×ØæñýÏÖÛÜðA-ZÁÀÄÀ„…†\x06‡ÅÅ�‚\x02\x05ƒÉÈˈ‰ÊŠ‹Œ�ŽÍ̛ΘÓÒ™ šÔ��‘’“´•–—³”ÚÙœ�ž¿º»¼ÿ¹ÝŸ\x14\x19\x1eÐ";
12 $text =~ s/([$chars])([!~():,.;!?-])([^$chars])/\1\n\3/g;
13 $text =~ s/([^$chars])([!~():,.;!?-])([$chars])/\1\n\3/g;
14 $text =~ s/^([!~():,.;-])([$chars])/\n\2/g;
16 # $text =~ m/\. ([a-zðA-ZÐ])/ . \1/g;