Skip to content

Glossary: Git Beyond the Basics

character class

Also written: [0-9]

A pattern piece in square brackets that matches any one character from a set. `[0-9]` matches one digit, which the price check uses.

Where the book teaches it

Related terms

pattern charactersgrep