mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Add example for ">>" arrow heads
This commit is contained in:
parent
bc65ea7ab6
commit
a292c4c437
11
CONFIG.md
11
CONFIG.md
@ -430,3 +430,14 @@ For this task, the name arrows can be used.
|
||||
__pycache__ -name-> !
|
||||
.*\.md -name-re-> !
|
||||
```
|
||||
|
||||
### Example: Clean up names
|
||||
|
||||
You want to convert all paths into lowercase and replace spaces with underscores
|
||||
before applying any rules. This can be achieved using the `>>` arrow heads.
|
||||
|
||||
```
|
||||
(.*) -re->> "{g1.lower().replace(' ', '_')}"
|
||||
|
||||
<other rules go here>
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user