You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/02/08 04:23:29 UTC

DO NOT REPLY [Bug 118887] New: [Regression]Regular expression [:digit:] doesn't work in AOO 3.4 Rev. 1240872

https://issues.apache.org/ooo/show_bug.cgi?id=118887

             Bug #: 118887
        Issue Type: DEFECT
           Summary: [Regression]Regular expression [:digit:] doesn't work
                    in AOO 3.4 Rev. 1240872
    Classification: Application
           Product: Word processor
           Version: OOo 3.4 Beta
          Platform: PC
        OS/Version: All
            Status: CONFIRMED
          Severity: major
          Priority: P3
         Component: ui
        AssignedTo: ooo-issues@incubator.apache.org
        ReportedBy: yanji.yj@gmail.com


1. New a Writer document
2. Input some content which contains numbers and word
3. Open Find & Replace dialog
4. Use regular expression [:digit:]* to find digital

Defect: Cannot find digital

Note: The problem cannot be reproduced in OOo 3.3

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 118887] [Regression]Regular expression [:digit:]* doesn't work in AOO 3.4 Rev. 1240872

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118887

Du Jing <bj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 118887] [Regression]Regular expression [:digit:] doesn't work in AOO 3.4 Rev. 1240872

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118887

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |hdu@apache.org
         Resolution|                            |FIXED

--- Comment #1 from hdu@apache.org 2012-02-09 08:32:56 UTC ---
The expression [:digit:]* matches everywhere even when no digit is in sight.
Better use [:digit:]+ so that at least one digit must be found.

Anyway, I committed revision 1242235 so that zero-length matches get ignored
which is what Writer seems to expect.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 118887] [Regression]Regular expression [:digit:]* doesn't work in AOO 3.4 Rev. 1240872

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118887

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[Regression]Regular         |[Regression]Regular
                   |expression [:digit:]        |expression [:digit:]*
                   |doesn't work in AOO 3.4     |doesn't work in AOO 3.4
                   |Rev. 1240872                |Rev. 1240872

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 118887] [Regression]Regular expression [:digit:]* doesn't work in AOO 3.4 Rev. 1240872

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118887

Du Jing <bj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |bjdujing@gmail.com

--- Comment #2 from Du Jing <bj...@gmail.com> ---
verified on the build AOO3.5_r1387482

-- 
You are receiving this mail because:
You are the assignee for the bug.