Valid ruby code like:
puts "Hello " << name.capitalize << "."
Can be used, but:
puts "Hello #{name.capitalize}."
Will break out of the string and make everything after the # a comment.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1695796
Originator: NO
Same bug on php or javascript :s
I'm working on new regexp solving this.
echo "hello // this is not a comment";
document.print("hello // this is not a comment");
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Logged In: NO
php comment are fixed on svn/devel v1
Thanks to MDK
Will be same for ruby ;)