> For the complete documentation index, see [llms.txt](https://mythicchanger.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythicchanger.superiormc.cn/match-item-rules/contains-name-contains-lore.md).

# Contains Name/Contains Lore

{% hint style="info" %}
You shoud not put color code here if you enabled `ignore-color-code` option at `config.yml` file.
{% endhint %}

## Contains Name

Item display name must contain any listed text.

```yaml
match-item:
  contains-name:
    - 'test1'
```

## Contains Lore

Any lore line containing listed text will pass.

```yaml
match-item:
  contains-lore:
    - 'test1'
```
