# kumo.regex.escape

```lua
kumo.regex.escape(PATTERN)
```

{{since('2024.09.02-c5476b89')}}

Escapes all regular expression meta characters in `PATTERN`.

The string returned may be safely used as a literal in a regular expression.

