Opened 9 years ago

Last modified 9 years ago

#12760 confirmed Bug

Match whole word option does not find words adjacent to special characters

Reported by: Rick Schnorenberg Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

Steps to Reproduce

  1. Open the editor full featured demo page
  2. Paste in this test text:
    test` test~ test! test@ test# test$ test% test^ test& test* test( test) test- test_ test= test+ test[ test{ test] test} test\ test| test; test: test' test" test, test< test. test> test/ test?
    
  3. Open the find dialog
  4. Enter test as the search term
  5. Check the Match whole word checkbox
  6. Click find repeatedly

Expected Behavior

I don't think there is any consensus to exactly which characters should or should not delimit words but the main characters we are concerned with are parentheses (), square brackets [], and the slash / which are used often to enclose or connect words but without making them compound words with the other content around the symbol.

Word 2013 finds every instance of the word in this test with Find whole words only checked, Internet Explorer finds all but the one next to a single quote '

Actual Behavior

Only the instances of test that are adjacent to quotes and common sentence separator characters are found.

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Status: newconfirmed
Version: 3.0

I think this is correct. CKEditor should find whole words or at least work the same way as word.

I have been able to reproduce this issue from CKEditor 3.0.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy