Skip to content

Commit

Permalink
doc: hyphen range constraint without whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Aug 29, 2023
1 parent 2f39fdc commit 878c2c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ These look like:
* `1.2 - 1.4.5` which is equivalent to `>= 1.2 <= 1.4.5`
* `2.3.4 - 4.5` which is equivalent to `>= 2.3.4 <= 4.5`

Note that `1.2-1.4.5` without whitespace is parsed completely differently; it's
parsed as a single constraint `1.2.0` with _prerelease_ `1.4.5`.

### Wildcards In Comparisons

The `x`, `X`, and `*` characters can be used as a wildcard character. This works
Expand Down

0 comments on commit 878c2c0

Please sign in to comment.