1 2 3 4 5
error[E014]: invalid regular expression --> line:3:5 | 3 | $a = /(foo|)/ | ^^^^^^^^^^^^^ this regexp can match empty strings