Support NODE_ONCE for pattern matching by S-H-GAMELINKS · Pull Request #9799 · ruby/ruby

I saw this Issue and found that NODE_ONCE such as /#{var}/o are not supported by pattern matching. rubocop/rubocop-performance#438 So, add a simple test and modifying that NODE_ONCE can also be han...