We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8aab9e commit f4f476dCopy full SHA for f4f476d
docs/grammar.md
@@ -239,8 +239,8 @@ Each item is one of:
239
* `item ~ n` - Exactly *n* instances of item
240
* `item ~ n..m` - Between *n* to *m* instances of item (not recommended for wide ranges, due to performance issues)
241
242
-Despite `~ n` being written with spaces, its binding power is the same as that of other operators,
243
-for instance `a b ~ 3` parses as `a (b ~ 4)`, and `a ~ 2 b ~ 3` is parsed as `(a ~ 2) (b ~ 3)`.
+Note that all operators, including `~ n`, apply directly to the item on their left.
+For instance `a ~ 2 b ~ 3` is parsed as `(a ~ 2) (b ~ 3)`.
244
245
**Examples:**
246
```perl
0 commit comments