General

Profile

andrea.salicetti@gmail.com (Andrea Salicetti)

  • Login: andrea.salicetti@gmail.com
  • Registered on: 11/23/2023
  • Last sign in: 11/23/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

11/24/2023

08:29 AM Ruby Bug #20020: Segfault running regexp match?
Here is a script to reproduce the same in rails/rspec:
```ruby
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{rep...
andrea.salicetti@gmail.com (Andrea Salicetti)
07:46 AM Ruby Bug #20020: Segfault running regexp match?
nobu (Nobuyoshi Nakada) wrote in #note-2:
> It seems reproducing only on IRB, but not without IRB.
Actually initially I had the problem running my rspec on Rails 7.0.8.
I reported here the easiest reproducible example.
andrea.salicetti@gmail.com (Andrea Salicetti)

11/23/2023

04:58 PM Ruby Bug #20020 (Open): Segfault running regexp match?

**Ruby version** : ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin23]
From `irb`, trying to call `match?` on this regular expression causes a segmentation falut:
```ruby
irb(main):001:0> /^((a|c)|\s?){1,3}$/.match?('a...
andrea.salicetti@gmail.com (Andrea Salicetti)

Also available in: Atom