| Summary: | Search does not move to next line when using .* or .{0,} | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | eclipse |
| Component: | Text | Assignee: | 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: | |||
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