Skip to content

Glossary: Command Line for IT: Bash and PowerShell

group

Also written: capture group, \1

In a regex, round brackets make a group that captures what it matched. sed refers to the groups as \1, \2… in its replacement, and PowerShell puts them in $Matches.

Where the book teaches it

Related terms

sed$Matchesregular expression (regex)