From: Gary Rutledge Date: 2010-09-29T22:16:54+09:00 Subject: Re: unknown regexp options The content of the file is just: puts "test" The irb session is: >> load /Users/gary/Desktop/test.rb SyntaxError: compile error (irb):3: unknown regexp options - gary from (irb):3 >> The .rb file was written in textedit with no rich text. I was using netbeans and my theory was that netbeans was throwing in some meta data with the file location that ruby was picking up and processing as a regular expression. But textedit is the same so I don't think that's the problem. -- Posted via http://www.ruby-forum.com/.