Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327055

Summary: Search does not move to next line when using .* or .{0,}
Product: [Eclipse Project] Platform Reporter: eclipse
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.4.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***