mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-08 22:01:03 +01:00
Minor, fix example in Herald documentation.
In JSON, `\.` is not valid. The backslash needs to be escaped.
This commit is contained in:
parent
72a92d438f
commit
660022665b
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ A few features in Herald are particularly complicated:
|
||||||
filename of the changed file; the second will be used to match the content.
|
filename of the changed file; the second will be used to match the content.
|
||||||
For example, if you want to match revisions which add or remove calls to
|
For example, if you want to match revisions which add or remove calls to
|
||||||
a "muffinize" function, //but only in JS files//, you can set the value
|
a "muffinize" function, //but only in JS files//, you can set the value
|
||||||
to ##["/\.js$/", "/muffinize/"]## or similar.
|
to ##["/\\.js$/", "/muffinize/"]## or similar.
|
||||||
- **Another Herald rule**: you can create Herald rules which depend on other
|
- **Another Herald rule**: you can create Herald rules which depend on other
|
||||||
rules. This can be useful if you need to express a more complicated predicate
|
rules. This can be useful if you need to express a more complicated predicate
|
||||||
than "all" vs "any" allows, or have a common set of conditions which you want
|
than "all" vs "any" allows, or have a common set of conditions which you want
|
||||||
|
|
Loading…
Reference in a new issue