capture`foo`
capture.exactly`foo`
capture('foo')
RegExp equivalent:
/(foo)/
Wrap the given token in a capture group.
Rest ...args: unknown[]capture`foo`
capture.exactly`foo`
capture('foo')
RegExp equivalent:
/(foo)/
Wrap the given token in a capture group.
Optional node: RegExpTokencapture`foo`
capture.exactly`foo`
capture('foo')
RegExp equivalent:
/(foo)/
Generated using TypeDoc
Wrap the given token in a capture group.