Ticket #1487 (closed defect: fixed)
Option Whole words in Find, Editor
Reported by: | dborca | Owned by: | angel_il |
---|---|---|---|
Priority: | major | Milestone: | 4.7.0-pre2 |
Component: | mc-core | Version: | 4.7.0-pre1 |
Keywords: | whole words | Cc: | dborca@…, dmartina@… |
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: | committed-master |
Description (last modified by andrew_b) (diff)
There are a few things which came with the new search engine:
- A bug in src/search/regex.c prevents using \b in regex search. There's a duplicate of \B.
- There's no "Whole Words Only" option. One could use regex search with \btext\b, but see the bug above. Besides, it would be nice to have a quick "Whole Words Only" checkbox for text searches. I sometimes find it useful, even in File Find (a la "grep -rw").
Attachments
Change History
comment:2 Changed 15 years ago by andrew_b
Pleas split your patch to several independent parts and reopen the according tickets.
And again, please don't attach gzip'ed patches.
comment:3 Changed 15 years ago by dmartina
- Cc dmartina@… added
- Blocking 1370 added
Be careful with i18n! See patch about "First hit".
Changed 15 years ago by dmartina
- Attachment find.c.patch added
Missing runtime i18n of new "First Hit" label
comment:5 Changed 15 years ago by andrew_b
Find file bugs are fixed in reopened #1457. See http://www.midnight-commander.org/ticket/1457#comment:17
comment:8 Changed 15 years ago by angel_il
- Status changed from new to accepted
- Owner set to angel_il
comment:10 Changed 15 years ago by angel_il
- Keywords whole words added
branch 1487_whole_words (parent: master)
changeset: 14d668dcf33d2db5eff58c9b98442810586b8235
comment:12 Changed 15 years ago by angel_il
- Summary changed from Search improvements/bugfixes in Find, Editor, View to Option Whole words in Find, Editor
comment:13 Changed 15 years ago by angel_il
changeset: 156b79609cb58cf99ca27b25498308d493a016ee (forced update)
comment:14 Changed 15 years ago by iNode
- Votes for changeset set to iNode
- Blocking 1560 removed
Looks good.
comment:16 Changed 15 years ago by andrew_b
- Votes for changeset changed from iNode to iNode andrew_b
- severity changed from on review to approved
comment:17 Changed 15 years ago by angel_il
- Status changed from accepted to testing
- Votes for changeset changed from iNode andrew_b to commited-master
- Resolution set to fixed
- severity changed from approved to merged
comment:18 Changed 15 years ago by andrew_b
- Status changed from testing to closed
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.