---
url: /reference/packages/regex/src/interfaces/CardinalityCapture.md
---
# Interface: CardinalityCapture

Defined in: [packages/regex/src/types.ts:94](https://github.com/thedannywahl/cssdoc/blob/main/packages/regex/src/types.ts#L94)

Capture groups for cardinality patterns.

## Properties

### keyword?

```ts
keyword?: "optional" | "many" | "one-or-more";
```

Defined in: [packages/regex/src/types.ts:97](https://github.com/thedannywahl/cssdoc/blob/main/packages/regex/src/types.ts#L97)

***

### type?

```ts
type?: "max" | "one-or-more-max";
```

Defined in: [packages/regex/src/types.ts:95](https://github.com/thedannywahl/cssdoc/blob/main/packages/regex/src/types.ts#L95)

***

### value?

```ts
value?: string;
```

Defined in: [packages/regex/src/types.ts:96](https://github.com/thedannywahl/cssdoc/blob/main/packages/regex/src/types.ts#L96)
