Open topic with navigation

# <pattern>

Element: pattern

Child Elements: <none>

Description: Defines a pattern used for matching.

Example: `<pattern score=".1" case="insensitive" replace="replacechars" insert_before="prefix_" insert_after="_suffix">cat</pattern>`

Attribute | Value | Default | Description
--- | --- | --- | ---
`pattern` | <actual pattern> |  | A value is required.
`score` | >= 0 | 1 | See description in <entry>.
`case` | sensitive 1/on/yes/true insensitive 0/off/no/false inherited | inherited | Determines whether a match is case sensitive. The value `inherited` accepts the case matching mode of the `grammars` parent.
`replace` | <text to replace the match> | <no default> | The matched text is replaced with the specified text.
`insert_before` | <text to insert before the match> | <no default> | Matched text is prefixed with the specified text.
`insert_after` | <text to insert after the match> | <no default> | Matched text is suffixed with the specified text.
`debug` | true 1/on/yes/true false 0/off/no/false inherited | inherited | Displays verbose information for the pattern element during compilation. The value `inherited` accepts the debug mode of the `entity` parent.

© Copyright 2013-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm