View Issue Details

IDProjectCategoryView StatusLast Update
0032928FPCRTLpublic2018-01-13 12:08
ReporterThaddy de KoningAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformallOSallOS Versionall
Product Version3.1.1Product Buildall 
Target Version3.2.0Fixed in Version3.1.1 
Summary0032928: FindMatchesBoyerMooreXXX are procedures but should be boolean functions
DescriptionStrUtils.FindMatchesBoyerMooreCaseSensitive are procedures.
That's a bit illogical: they should return a Boolean true if at least one match is found and Boolean false if no matches are found:
Result := Length(aMatches) > 0;
TagsNo tags attached.
Fixed in Revision37955
FPCOldBugId
FPCTarget
Attached Files

Activities

Thaddy de Koning

2018-01-02 13:19

reporter   ~0105259

Read Description as with FindMatchesBoyerMooreXXX

Michael Van Canneyt

2018-01-13 12:08

administrator   ~0105738

A good idea, I changed the implementation.

Issue History

Date Modified Username Field Change
2018-01-02 13:18 Thaddy de Koning New Issue
2018-01-02 13:19 Thaddy de Koning Note Added: 0105259
2018-01-02 16:31 Michael Van Canneyt Assigned To => Michael Van Canneyt
2018-01-02 16:31 Michael Van Canneyt Status new => assigned
2018-01-13 12:08 Michael Van Canneyt Fixed in Revision => 37955
2018-01-13 12:08 Michael Van Canneyt Note Added: 0105738
2018-01-13 12:08 Michael Van Canneyt Status assigned => resolved
2018-01-13 12:08 Michael Van Canneyt Fixed in Version => 3.1.1
2018-01-13 12:08 Michael Van Canneyt Resolution open => fixed
2018-01-13 12:08 Michael Van Canneyt Target Version => 3.2.0