tommy-mitchell / listr-cli

Command-line task lists made pretty.
https://npm.im/listr-cli
MIT License
0 stars 0 forks source link

Use duplicate named capture groups in the future #10

Open tommy-mitchell opened 1 year ago

tommy-mitchell commented 1 year ago

https://github.com/tc39/proposal-duplicate-named-capturing-groups is stage 3 currently. When it lands in TypeScript / Node.js, it can be used in applyEnvironmentVariables to combine <quoted> and <value>:

https://github.com/tommy-mitchell/listr-cli/blob/e2520faa01c2ad5c1162d47c90dc94429743a841/src/helpers/apply-environment-variables.ts#L10-L16