Re: [libreoffice-users] Problems with find/replace with regular expresions

2022-10-04 Thread Philip Jackson

On 04/10/2022 03:29, Nilton Jose Rizzo wrote:

Hey guys I'm using a LO 7.4.1.2 on FreeBSD 14-current and I notice strange behavior. 
When I try to use a regular expression I get this error in the selected table column I 
put in the find field: [:digit:]$ I put in the replace field: &/10 And I press 
replace All and I have &/10 on every line It only works when I press Find All and 
Replace All. Has this behavior changed from version 7.3 to version 7.4?

TIA,


You don't say what you are trying to achieve but it looks like you might be 
attempting to take the last digit from a cell and replace it by a value 1/10 of 
the original. For example, to replace 2 by 0.2

If that is the case, try :

Find:  ([:digit:]$)

and replace: '=$1/10'   without the quotes

and this works with 'find next' and 'replace'

Otherwise, maybe you could explain your objective.

Philip

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-users] Problems with find/replace with regular expresions

2022-10-03 Thread Nilton Jose Rizzo
Hey guys I'm using a LO 7.4.1.2 on FreeBSD 14-current and I notice 
strange behavior. When I try to use a regular expression I get this 
error in the selected table column I put in the find field: [:digit:]$ I 
put in the replace field: &/10 And I press replace All and I have &/10 
on every line It only works when I press Find All and Replace All. Has 
this behavior changed from version 7.3 to version 7.4?


TIA,

--

** Nilton José Rizzo  **
**   DECOMP/UFRRJ **
**www.rizzo.eng.br**


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy