zuzukin / whl2conda

Generate conda package from pure python wheel
https://zuzukin.github.io/whl2conda/
Apache License 2.0
6 stars 2 forks source link

Support $ style group reference in package rename #44

Closed analog-cbarber closed 1 year ago

analog-cbarber commented 1 year ago

Currently, we use python's substitution syntax for rename patterns, so you have to write match/substitution expressions like: acme-(.*) -> acme.\\1. The backslash style escaping can cause cause confusion and lead to errors when having to add extra backslashes to deal with shell escapes.

We should also support $ style substitutions like acme.$1 and acme.${group-name}