Menu

#849 Add "whole words only" option to Find dialog

future
open
nobody
None
2
2023-01-09
2013-04-21
No

Currently, the only way to perform whole-word searches in OmegaT is using the wildcard search. However, the wildcard search is a more complex type of search, and it would be nice to be able to specify "whole words only" for the simple searches as well. I suggest that keyword searches and exact searches be given the option (as a checkbox) to perform "whole word" searches. The wildcards * and ? should still work, so that a user can use e.g. * to specify that a certain word should not be matched as a whole word.

Just to make sure it is understood what I mean by "whole word search": at present, if I search for "the", then it will match a segment that does not contain the word "the" but that does contain the word "Netherlands". A whole-word search would only match a segment that actually contains the word "the".

Related

Feature Requests: #971

Discussion

  • Didier Briel

    Didier Briel - 2013-04-22

    "Currently, the only way to perform whole-word searches in OmegaT is using the wildcard search"

    No, you can use regular expression and word boundaries.

    From the documentation:
    \bis\b
    search for “is”, not “this” or “isn't” etc.

    Didier

     
  • Samuel Murray

    Samuel Murray - 2013-04-22

    My apologies -- I meant "Currently, the only way to perform whole-word searches in OmegaT is using the regex search." You can't do whole-word searching using the wildcard search.

     
  • Jean-Christophe Helary

    • Group: 3.0 --> future
     

Log in to post a comment.

MongoDB Logo MongoDB