Ticket #69 (new defect) — at Initial Version
savannah: Bad regexp search in editor (" $")
Reported by: | slavazanko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.7 |
Component: | mcedit | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Original: http://savannah.gnu.org/bugs/?19757
Submitted by: | Martin Petricek <bilboq> | Submitted on: | Mon 30 Apr 2007 03:20:29 PM UTC |
Category: | Editor | Severity: | 3 - Normal |
Status: | Confirmed | Privacy: | Public |
Assigned to: | Pavel Tsekov <ptsekov> | Open/Closed: | Open |
Release: | current (CVS or snapshot) | Operating System: | GNU/Linux |
Discussion:
Wed 02 May 2007 02:35:49 PM UTC, comment #2: In fact the code dealing with RE in the editor is pretty bizzare.. I rewrite would be necessary. Pavel Tsekov <ptsekov> Project AdministratorIn charge of this item. Wed 02 May 2007 11:53:05 AM UTC, comment #1: If you are building MC from source you can apply the attached patch. I am working on a patch to fix both this issue and the 1024 characters line limit described in bug #19329. The final patch may or may not include the attached patch, so this is an interim solution. (file #12664) Pavel Tsekov <ptsekov> Project AdministratorIn charge of this item. Mon 30 Apr 2007 03:20:29 PM UTC, original submission: When I used Command -> Find file and entered " $" (space and a dollar, meaning one space character at end of line, regular expression and case sensitivity is both checked), I find many lines in many files. However, when I enter one of the files, move to the start of the file and search for the same expression " $" using F7 ("regular expression" checkbox is checked, rest is unchecked), nothing is found ("Search string not found"). When I move to the line where the space was found by "Find file" the space at end of line is there. To reproduce, file with lines like: "a word " "another " "another " may be used (without the quotation marks of course, the spaces at end of lines are important)
Change History
Changed 16 years ago by slavazanko
- Attachment 12664-string_regexp_search-match-eol.patch added
Note: See
TracTickets for help on using
tickets.
added by ptsekov