> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:match

> Use arc:match to perform complex pattern matching on values, supporting exact, regex, and glob match types.

export const siteNameShort = "Arc";

The `arc:match` keyword is similar to the [arc:equals](./op-arc-equals) keyword. However, it permits complex matching rules.

## Parameters

* **pattern**: The pattern to match.
* **type**: The type of matches to find. The default value is `exact`, which requires an exact match of the value. In this case `arc:match` is identical to `arc:equals`. Other supported types are `regex` for regular expression matching, and `glob`, which supports a simple expression model similar to the one used in file-name patterns, for example, `*.txt`.
  * The .NET edition of the application uses the .NET Framework version of regular expression matching.
  * The Cross-Platform edition uses Java regular expression constructs.
* **value**: The value to match.

## Control Attributes

None

## Example

Check for floating point numbers using a regex pattern. If the pattern is matched, the item is pushed out.

```xml theme={null}
<arc:match pattern="[-+]?[0-9]*.?[0-9]*" type="regex" value="-3.14">
  <arc:push/>
</arc:match>
```

## See Also

* [arc:select](./op-arc-select): Compare multiple values.
