# An input pattern isn't valid

What "an input in axle.toml isn't a valid pattern" means and how to fix it.

```text
error: the input "src/[" at line 2, column 11 of axle.toml isn't a valid pattern: unclosed character class; missing ']'
hint: Write the pattern as a glob, such as src/** or !**/*.test.ts.
```

## Why it happens

A pattern under a task's `inputs`, a set in `[inputs]` or `globalInputs` in `axle.toml` can't be read as a glob, for example because a `[` or `{` is never closed. An entry that isn't the name of a set counts as a pattern.

## How to fix it

Fix the pattern at that line and column. Patterns are relative to the package's folder, or to the repository root after `{root}/`, and a `!` in front leaves files out. The [glob patterns](https://axlers.dev/docs/reference/globs.md) page shows what each symbol means, and [inputs](https://axlers.dev/docs/reference/configuration.md#inputs) the other entries `inputs` can hold.
