captureAs`name``foo`
captureAs`name`.exactly`foo`
captureAs('name')('foo')
RegExp equivalent:
/(?<name>foo)/
Wrap the given token in a named capture group.
Rest
...args: unknown[]captureAs`name``foo`
captureAs`name`.exactly`foo`
captureAs('name')('foo')
RegExp equivalent:
/(?<name>foo)/
Generated using TypeDoc
Wrap the given token in a named capture group.