gabriel80546 how to use 1..8 in a for loop? 21:40
[Coke] m: for 1..8 { $_.say } 21:41
camelia 1
2
3
4
5
6
7
8
[Coke] m: my $a; for 1..8 -> $c { $a+=$c }; say $a;
camelia 36
gabriel80546 thank you very much
[Coke] np
lakmatiol I am slightly confused: how come it matches only when the two is in {}, I thought that was just a way to substitute raku expressions into the regex 23:09
```perl
> '12345671' ~~ /(. ** {2}).+$0/
「12345671」
0 => 「1」
> '12345671' ~~ /(. ** 2).+$0/
Nil
```
I am slightly confused: how come it matches only when the 2 is in {}, I thought that was just a way to substitute raku expressions into the regex
```perl
> '12345671' ~~ /(. ** {2}).+$0/
「12345671」
0 => 「1」
> '12345671' ~~ /(. ** 2).+$0/
Nil
```
also, do capture groups in lookaheads and lookbehinds not work? 23:30