r-lib/rex

named argument in `capture` should be used as the capture name.

jimhester opened this issue · 0 comments

So instead of

rex(capture(name = 'test', anything))

You can write

rex(capture(test = anything))

Or the short form

rex(.(test = anything))

It should not require a huge change except for the capture implementation.

I am undecided whether to try and maintain backwards compatibility with the previous behavior or not.