From: Simon Strandgaard Date: 2003-11-27T04:07:13+09:00 Subject: gnu-regexp should raise? Why does /[]]/ not raise an exception, when /[]/ does ? server> ruby -e "p /[]]/.match('a]e').to_a" -e:1: warning: character class has `]' without escape ["]"] server> ruby -e "p /[]/.match('a]e').to_a" -e:1: invalid regular expression; empty character class: /[]/ server> -- Simon Strandgaard