# MatcherObjectPattern

interface

An object describing `MatcherPattern`. See [`MatcherPattern`](module_engine_view_matcher-MatcherPattern.md) for examples and other options.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/matcher.ts#L694)

<a id="properties">

## Properties

<a id="member-attributes">

### `attributes?: MatchAttributePatterns`

View element's attributes to match.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/matcher.ts#L714)

<a id="member-classes">

### `classes?: MatchClassPatterns`

View element's classes to match.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/matcher.ts#L704)

<a id="member-name">

### `name?: string | RegExp`

View element name to match.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/matcher.ts#L699)

<a id="member-styles">

### `styles?: MatchStylePatterns`

View element's styles to match.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/matcher.ts#L709)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
