mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-31 22:31:54 +03:00
;regex doc tweaks
This commit is contained in:
parent
71111148ed
commit
24209a952c
@ -834,9 +834,9 @@ If they're not doing what you expect, it's important to know exactly what they s
|
||||
#. they are infix matching (they do not need to match the entire thing being matched)
|
||||
#. they are [POSIX ERE][] (extended regular expressions)
|
||||
#. they also support [GNU word boundaries][] (`\b`, `\B`, `\<`, `\>`)
|
||||
#. they do not support [backreferences][] - if you write `\1`, it will match the digit `1`.
|
||||
#. they do not support [backreferences][]; if you write `\1`, it will match the digit `1`.
|
||||
Except when doing text replacement, eg in [account aliases](journal.html#regex-aliases),
|
||||
where [backreferences][] can be used the replacement string to reference [capturing groups][] in the search string.
|
||||
where [backreferences][] can be used in the replacement string to reference [capturing groups][] in the search regexp.
|
||||
#. they do not support [mode modifiers][] (`(?s)`), character classes (`\w`, `\d`), or anything else.
|
||||
|
||||
[POSIX ERE]: http://www.regular-expressions.info/posix.html#ere
|
||||
|
Loading…
Reference in New Issue
Block a user