mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 23:45:05 +02:00
Add example for ">>" arrow heads
This commit is contained in:
parent
bc65ea7ab6
commit
a292c4c437
1 changed files with 11 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue