# TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously.

> A regular expression literal has both the `u` and `v` flags. Keep one; `v` includes everything `u` does.

## What it means

The `v` (Unicode Sets) flag is an extended form of `u`, and the two can't be set together.

## Example

```ts
export const re = /[a-z]/uv;
```

## How to fix

- Use `v` alone if you need set operations, otherwise `u` alone.

Source: https://ts-r.dev/errors/TS1502/
