mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
doc: fix regex in example for regex aliases
This commit is contained in:
parent
76cb45def6
commit
76b04ceb4f
@ -1285,7 +1285,7 @@ by the usual numeric backreferences in REPLACEMENT.
|
||||
Eg:
|
||||
|
||||
```journal
|
||||
alias /^(.+):bank:([^:]+)(.*)/ = \1:\2 \3
|
||||
alias /^(.+):bank:([^:]+):(.*)/ = \1:\2 \3
|
||||
; rewrites "assets:bank:wells fargo:checking" to "assets:wells fargo checking"
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user