sisyphus_cg (Sisyphus CG)
- Login: sisyphus_cg
- Registered on: 12/27/2023
- Last sign in: 03/20/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
12/27/2023
-
05:08 AM Ruby Bug #20095 (Closed): Regex lookahead behaving strangely in 3.3.0
- Multiple regex lookaheads seem to behave strangely in 3.3.0:
```ruby
p "xxx" =~ /(?=.*x)x(?=banana)/ # 2
```
Clearly, the string `xxx` does not contain `banana`, so this regex should never match, but it does. -
04:51 AM Ruby Bug #20094 (Closed): Inline while loop behavior changed unexpectedly in 3.3.0
- The behavior of the inline while loop has changed in 3.3.0. This unexpectedly broke my code and I couldn't find anything in the changelog about it so reporting it as a bug.
In ruby <= 3.2:
``` ruby
(p 1) while false # nothing...