# match

**Kind:** Function

**Source:** [`src/router/reg-exp-router/matcher.ts`](https://github.com/honojs/hono/blob/main/src/router/reg-exp-router/matcher.ts#L10)

**Part of:** [Router](subsystem-src-router)

## Signature

```ts
function match(this: R, method: string, path: string): Result<T>
```

## Parameters

| Name | Type |
|---|---|
| `this` | `R` |
| `method` | `string` |
| `path` | `string` |

**Returns:** `Result<T>`

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (2)

- `PreparedRegExpRouter` — `src/router/reg-exp-router/prepared-router.ts`:9
- `RegExpRouter` — `src/router/reg-exp-router/router.ts`:47
