Skip to content

Commit

Permalink
Merge pull request #216 from johnnychen94/patch-1
Browse files Browse the repository at this point in the history
doc: hyphen range constraint without whitespace
  • Loading branch information
mattfarina committed Jun 4, 2024
2 parents 9ec6f29 + 878c2c0 commit f4a4d83
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 f4a4d83

Please sign in to comment.