Skip to content

Commit bdb3f9e

Browse files
committed
compiler/eccss: (NOT) contains case-sensitivity fix
1 parent c87415b commit bdb3f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/eccss/expressions.ec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,7 +2851,7 @@ OPERATOR_NUMERIC(BINARY_LOGICAL, <=, SmaEqu)
28512851
static bool textStrCnt(FieldValue result, const FieldValue val1, const FieldValue val2)
28522852
{
28532853

2854-
result.i = SearchString(val1.s, 0, val2.s, false, false) != null;
2854+
result.i = SearchString(val1.s, 0, val2.s, true, false) != null;
28552855
result.type = { type = integer };
28562856
return true;
28572857
}
@@ -2875,7 +2875,7 @@ static bool textStrEnd(FieldValue result, const FieldValue val1, const FieldValu
28752875
static bool textStrNotCnt(FieldValue result, const FieldValue val1, const FieldValue val2)
28762876
{
28772877

2878-
result.i = !SearchString(val1.s, 0, val2.s, false, false);
2878+
result.i = !SearchString(val1.s, 0, val2.s, true, false);
28792879
result.type = { type = integer };
28802880
return true;
28812881
}

0 commit comments

Comments
 (0)