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

Bug 422096

Summary: Regex operators ^ and $ do not work on line-by-line basis
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 5.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-11-19 17:47:45 EST
1. Edit a file containing several lines of text
2. Press Ctrl+F, enable "Regular Expression" search.
3. Search for this regex: "^."  (omit the quotation marks)

I expected the regex to match the first character of every line in the file. But instead it matches only the first character in the document. 

I think this is a regression.

info on RegExp flags:
https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions#Advanced_Searching_With_Flags