---
title: keywordMatch
description: Compares an assertion value of Directory String syntax to a value whose syntax is the ASN.1 DirectoryString type.
component: pingds
version: 7.4
page_id: pingds:schemaref:mr-keywordMatch
canonical_url: https://docs.pingidentity.com/pingds/8.1/schemaref/mr-keywordMatch.html
llms_txt: https://docs.pingidentity.com/pingds/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/pingds/8.1/schemaref/mr-keywordMatch.html
---

# keywordMatch

Compares an assertion value of Directory String syntax to a value whose syntax is the ASN.1 DirectoryString type.

The rule evaluates to TRUE if and only if the assertion value character string matches a keyword in the attribute value, where keyword matches are implementation defined.

In this implementation, a keyword match occurs if the assertion value is contained within the attribute value, and the assertion value is bounded by the start or the end of the attribute value or any of the following characters:

* A space

* A period

* A comma

* A slash

* A dollar sign

* A plus sign

* A dash

* An underscore

* An octothorpe (`#`)

* An equal sign

|                    |                                                           |
| ------------------ | --------------------------------------------------------- |
| *Names*            | keywordMatch                                              |
| *Origin*           | [RFC 4517](https://datatracker.ietf.org/doc/html/rfc4517) |
| *Assertion syntax* | [DirectoryString](s-DirectoryString.html)                 |
| *OID*              | 2.5.13.33                                                 |
