Bug 327055 - Search does not move to next line when using .* or .{0,}
Summary: Search does not move to next line when using .* or .{0,}
Status: CLOSED DUPLICATE of bug 80661
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 22:08 EDT by eclipse CLA
Modified: 2010-10-06 03:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eclipse CLA 2010-10-05 22:08:16 EDT
Build Identifier: 20100617-1415

Search for ".*" (Regular expressions) in any text file.

After finding the first match (i.e. the current line), the search refuses to find any more.

Same with ".{0,}".

Note that ".+", ".{1,}", "..*" all work fine.

Note: found this whilst trying to use the recipe for finding lines that don't contain a string, i.e: "^((?!regexp).)*$"

A work-round in this case was to use "^((?!regexp).)+$" instead.


Reproducible: Always

Steps to Reproduce:
1. Find/Replace: Find: ".*" ; Regular expressions=selected
2. Press Find; first match found OK
3. Press Find again - no match found
Comment 1 Dani Megert CLA 2010-10-06 03:06:34 EDT

*** This bug has been marked as a duplicate of bug 80661 ***