---
title: createMatcher
source: https://github.com/remix-run/remix/blob/main/packages/route-pattern/src/lib/matcher.ts#L54
---

# createMatcher

## Summary

Create a new matcher.

## Signature

```ts
function createMatcher<data>(options: { ignoreCase?: boolean }): Matcher<data>;

```

## Parameters

### `options`

Constructor options

## Returns

A new matcher instance.