--- In RubyOnRails@yahoogroups.com, "sangeetha_geethu05"
<sangeetha_geethu05@...> wrote:
> $key_word="C++"
>
> reg.rb:3: nested *?+ in regexp: /C++/ (RegexpError)
try to escape the "+" since it has special meaning in regex.
$key_word = "c\+\+"