Quote:
Originally Posted by DigitEditLab
@Francois_C:
The punctuation in French is perfectly processed thanks to a non-breakable space added with a safe and effective regex query, instead of any "smarten punctuation".
Bon courage, collègue !
|
"Smarten punctuation" generally works well for me. On LibreOffice, I use this (rather empirically written but generally working – to add non breakable spaces – except for opening lower double quotes that must be treated separately):
([a-z0-9àâäéèêëíìîïóòôöùúÛüÿyç…;!?»”"\)])([;:?!»])
Replace with:
$1(paste non breakable space here)$2
and:
([a-z0-9àâäéèêëíìîïóòôöùúÛüÿyç…;!?»”"\)]) ([;:?!»])
$1(paste non breakable space here)$2
Which regex are you using?