Comments (2)
Ok, that's what I thought. Just wanted to be sure. I ended up doing it in 2 separate passes and it worked fine.
from rnr.
@luckman212 I am glad that rnr
is useful to you. Thanks for the kind words.
About your question, I think the easiest way to solve that problem is to run just two different commands.
You may try to create an elaborated regexp with capture groups since they are supported. However, I believe that it is not worth it for this case. You can check the examples for more info about the capture groups.
from rnr.
Related Issues (20)
- regexp in windows HOT 2
- Support change of case on case-insensitive file systems HOT 4
- Add new workflow to generate releases
- ascii restriction mode HOT 8
- Add `rnr` to Homebrew HOT 16
- [Feature request] Add file names enumeration (counter) option HOT 7
- Confirming cli app only HOT 2
- Support Unicode Normalization Forms HOT 1
- How to change case of group? HOT 1
- Possible to rename only directories and not files? HOT 2
- send argument to another command to do some string manipulation operation HOT 1
- regex to remove white spaces in folder names HOT 1
- Double quotes expand shell variables when used in some shells HOT 1
- [feature request] can provide a parameter to save the historical naming replacement rules HOT 2
- Add --continue-on-error flag HOT 2
- --force option not working for to-ascii on Windows. Not renaming the files. HOT 3
- Issue with regex and capture groups HOT 6
- [Feature] Custom dump file base name
- [Feature] Configuration file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnr.