Overview#CaseExactSubstringsMatch is a case-sensitive EQUALITY Matching Rule which compares an assertion value of the Substring Assertion syntax to an attribute value of a syntax (e.g., the Directory String, Printable String, Country String, or Telephone Number LDAP Syntax) whose corresponding ASN.1 type is Directory String or one of its alternative string types.
The rule evaluates to TRUE if and only if
- (1) the prepared substrings of the assertion value match disjoint portions of the prepared attribute value character string in the order of the substrings in the assertion value,
- (2) an <initial> substring, if present, matches the beginning of the prepared attribute value character string, and
- (3) a <final> substring, if present, matches the end of the prepared attribute value character string. A prepared substring matches a portion of the prepared attribute value character string if corresponding characters have the same code point.
In preparing the attribute value and assertion value substrings for comparison, characters are not case folded in the Map preparation step, and only Insignificant Space Handling is applied in the Insignificant Character Handling step.
The LDAP definition for the CaseExactSubstringsMatch Matching Rule is: