Bug #75

fixig text search with 'Word Begins/Ends With' option

Added by J. Templ almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:10/09/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

The rules for detecting word begin/word end in a text search with the 'Word Begins/Ends With' option(s) need to be refined because they produce unexpected results.
For example searching for 'pattern' in the text ')pattern' does not find it.
The field widths for 'Word Begins/Ends With' options need to be increased in the Find/Replace dialog.
In addition,the handling of non-ASCII characters needs to be refined
as reported by Ivan Denisov on 2013-08-19.

Refers to CPC 1.7rc5 change list number 47.

Associated revisions

Revision 5e72c8b2
Added by J. Templ almost 4 years ago

LeftTerminator and RigthTerminator generalized for Unicode. Refs: #75.
Same rule (~Strings.IsIdent) used in both cases.
Two separate functions retained in the code for preserving
the program structure and for easily allowing asymmetric rules
if there should arise any need in the future.

Width of option labels increased in the dialog as proposed in CPC 1.7 rc5.

Signed-off-by: Josef Templ <>

Revision 3e1665a9
Added by I. Denisov almost 4 years ago

Merge pull request #67 from BlackBoxCenter/issue-#75

LeftTerminator and RigthTerminator generalized for Unicode. Refs: #75.

History

#1 Updated by J. Templ over 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF