# Revision history [back]

### Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])


Replace with

“$1  However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example: Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif," After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?  2 retagged qubit 9528 ●19 ●93 ●65 ### Regular Expressions replacement affacts the formatting I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8 To tackle to opening quotation mark, I use the following regx in Find and Replace: "([:alnum:])  Replace with “$1


However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

 3 retagged manj_k 10965 ●15 ●68 ●100

### Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])


Replace with

“$1  However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example: Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif," After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?  4 retagged manj_k 10965 ●15 ●68 ●100 ### Regular Expressions replacement affacts the formatting I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8 To tackle to opening quotation mark, I use the following regx in Find and Replace: "([:alnum:])  Replace with “$1


However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

 5 retagged Alex Kemp 10484 ●14 ●39 ●42 http://etmg.altervista...

### Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])


Replace with

“\$1


However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?