# Interface PathPattern<Path>

A PathPattern is used to match on some portion of a URL pathname.

interface PathPattern<Path> {
caseSensitive?: boolean;
end?: boolean;
path: Path;
}

#### Type Parameters

- Path extends string = string

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:343

#####
Index

### Properties

caseSensitive?
end?
path

## Properties

### `Optional` caseSensitive

caseSensitive?: boolean

Should be `true` if the static portions of the `path` should be matched in the same case.

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:354

### `Optional` end

end?: boolean

Should be `true` if this pattern should match the entire URL pathname.

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:358

### path

path: Path

A string to match against a URL pathname. May contain `:id`-style segments to indicate placeholders for dynamic parameters. May also end with `/*` to indicate matching the rest of the URL pathname.

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:349