The repository contains a Python scripts to do multiline substitutions using regular expressions.
The script is used for some automated migrations/conversions:
- Migrate from JUnit 4 to 5
- Migrate from SpringFox to Springdoc Open API
- Update versions in POM
- Convert a phind answer into Redmine syntax
- Remove meta sequences (for colors) from e.g. logs
- Clone the repository
- Change to the directory where the changes should be applied
- Execute any of the migration scripts inside the directory where the changes should be applied providing the path to the scipt, e.g.
python ../regex-substition/migrate-from-junit-4-to-5.py
- Add another migration script analog the existing ones