Community
Participate
Working Groups
Attempting to do a regexp search and replace (Ctrl-F) fails to match the '^' character for beginning of a line. This is 3.0RC3.
I opened a file using R3.0 which has p searched for ^p and it found p Note: regex must be enabled
It fails if I search for the beginning of the line only (i.e. when commenting out lines): Find: ^ Replace with: // It works if I add a character to the search like ^p, but shouldn't I be able to search for the beginning of a line only? I should have been more specific in the original bug report, though.
Here's a work around, but it's more complex than searching for ^: Find: ^(.) Replace with: // $1 The search works if it includes any character, but you have to use a group preserve the first character. It would be much simpler if we could just search for ^.
agree
See corresponding bug 215670 against Platform Search.
*** Bug 308340 has been marked as a duplicate of this bug. ***
I am not sure Big 308340 is exactly the same bug. In that one, the search matches some text, but the highlighted text is wrong (it selects one more character) and I suspect it only happens with windows EOLs. Also, the replace feature does not work, whatever the regexp (this might be correct, as it would remove the \n from a \r\n, which must not be allowed).
Bug 308340 is indeed something different.
Probably related to bug 80661.
*** Bug 403063 has been marked as a duplicate of this bug. ***
*** Bug 404900 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.