/\A:"?(\w+)"?\Z/.freeze
Returns:
6 7 8 9 10
# File 'lib/safe_yaml/transform/to_symbol.rb', line 6 def transform?(value, options=nil) options ||= SafeYAML::OPTIONS return false unless options[:deserialize_symbols] && MATCHER.match(value) return true, $1.to_sym end