Try the `%r{...}` constructor:

    irb(main):002:0> %r{/*EAOConfig/*}
    => /\/*EAOConfig\/*/