Skip to content

Commit

Permalink
Document lack of implicit OR from ,
Browse files Browse the repository at this point in the history
  • Loading branch information
kannibalox committed Sep 29, 2024
1 parent 5e8d7e3 commit 7468517
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/migrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ available utilities.
case-insensitive matching, use a regex with the `i` flag,
e.g. `name=/UbUnTu.*/i`
* Relative times (e.g. `2d3m`) are now case-sensitive.
* Using `,` as an implicit `OR` no longer works. Use an explicit `OR` or a regex instead:
```bash
# Old
rtcontrol "tracker=*ubuntu.com*,*archlinux.org*"
# New
rtcontrol [ "tracker=*ubuntu.com*" OR "tracker=*archlinux.org*" ]
rtcontrol "tracker=/ubuntu.com|archlinux.org/"
```

### Templating

Expand Down

0 comments on commit 7468517

Please sign in to comment.