Issue #10463 has been updated by Tsuyoshi Sawada.


The report above is the result for irb. With `ruby -e` on the terminal, they return different results.

~~~
$ ruby -e "p :~@"
:~
$ ruby -e "p :!@"
bash: !@: event not found
~~~

----------------------------------------
Bug #10463: :~@ and :!@ are not parsed correctly
https://bugs.ruby-lang.org/issues/10463#change-49759

* Author: Tsuyoshi Sawada
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.1.4
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The at mark in literal symbols `:~@` and `:!@` are ignored.

~~~ruby
:~@  # => :~
:!@  # => :!
~~~



-- 
https://bugs.ruby-lang.org/