Regexp finishes after first group
krisavi opened this issue · 3 comments
krisavi commented
Trying to do a command like:
renamer --find '/([^\.]+)\.[^\.]+\.(\w+)/' --replace '$1.$2' build/static/media
file that it should apply is test.3af24c.jpg
Renamer version 1.1.0
Getting error:
\.[\.]+\.(\w+)$/i' was unexpected at this time.
It seems to finish after first group and not continue with regexp.
Am I missing something ?
krisavi commented
got it fixed, replaced ' with "
renamer --find "/([^\.]+)\.[^\.]+\.(\w+)/" --replace '$1.$2' build/static/media/*
75lb commented
glad you fixed.. are you on Windows?