https://bz.apache.org/ooo/show_bug.cgi?id=107619

--- Comment #18 from Kay <[email protected]> ---
(In reply to Francis C. Costero from comment #17)
> I still see the problem with 4.1.2 and one of the original example cases. I
> have 3 cells containing
> 987
> a b
> a
> 
> With 
> Find: ([^ ]*)[ ]*([^ ]*) 

Match zero or more occurences of a space following the beginning (grouping 1), 
followed by  zero or more occurrences of "space", followed by match zero or
more occurrences of a space following the beginning of the line (grouping 2).

> Replace: $1$2
> I get the following after clicking Replace All
> 987987

This is correct. In this case $1 and $2 are identical because there is zero or
no occurrence of the "intervening" space.

> ab

This is correct. There was an intervening space.

> aa

This is correct and the same as the "987" string case.

> 
> 
> If I use
> Find: ([0-9])
> Replace: $1
> I do not see the originally reported problem that 987 becomes 999 with
> Replace All. The 987 is left unchanged. 

Each number essentially matches itself and no changes.

> I'm using Windows 7.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are on the CC list for the issue.

Reply via email to