Bugs item #3302, was opened at 2006-01-23 02:43
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3302&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: TAKASHI OOTANI (tksotn)
Assigned to: Nobody (None)
Summary: irb cannot parse /\^/

Initial Comment:
C:\WINDOWS\TEMP>ruby -ve "p(/\^/)"
ruby 1.8.4 (2005-12-24) [i386-mswin32]
/\^/

C:\WINDOWS\TEMP>irb
irb(main):001:0> Regexp.new('\^')
=> /\^/
irb(main):002:0> /\^/
irb(main):003:0/ /
SyntaxError: compile error
(irb):3: unterminated string meets end of file
(irb):3: parse error, unexpected tSTRING_END, expecting tSTRING_CONTENT or tREGE
XP_END or tSTRING_DBEG or tSTRING_DVAR
        from (irb):3
irb(main):004:0> /\^/
=> /\^/
irb(main):005:0>


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3302&group_id=426