commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

Support Regexes Containing Colons

Open Kurt-von-Laven opened this issue 3 years ago • 1 comments

Description

One limitation of this very cool feature is that if you put a : in your regex, anything from the colon on will be ignored (and there is no way to escape the colon).

Possible Solution

Use str.partition() rather than str.split() here (and make the corresponding changes this entails).

Additional context

No response

Additional context

No response

Kurt-von-Laven avatar Apr 14 '22 01:04 Kurt-von-Laven

I'm good with this. Would be great if you're interested in sending a PR 🙂

Lee-W avatar Jul 22 '22 15:07 Lee-W