[Bug 237296] New: 'Start of Line' regular expression search fails

Sabine Faure sabine at kdab.net
Tue May 11 21:08:57 BST 2010


https://bugs.kde.org/show_bug.cgi?id=237296

           Summary: 'Start of Line' regular expression search fails
           Product: KMail 2
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: sabine at kdab.net


Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kmail
- Click on 'New' button
- In the text editor, type:
*test
*testing
*hello test
*test
- Go to Edit menu/Find...
- A 'Find Text' dialogue opens. In it check the Regular expression' check box,
click on the 'Edit...' button and select 'Start of Line' from the combo box
- a '^' is displayed in the 'Text to find:' line edit
- Add a 't'
- Click on the 'Find' button
- The first word is a match and its 't' is highlighted to show that
- Press F3 to search for other matches
- A pop up message appears saying: '1 match found.'

Whatever you do only the first match is shown whereas they are other matches
according to the list.

Also the start of line and letter are only found if they are on the first line
of text.
If you add an empty first line in the text editor then the pop up message is
'No matches found for '^t' instead.

Trunk Svn Rev 1125510

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



More information about the Kdepim-bugs mailing list