Thanks very much for the input.

Does this capture your suggestions correctly? Or am I still missing
something?

Ruby Book, Ch2, 2.14

%Q!Hello "World"\n!     # "" の別形式(" をエスケープする必要がない )

%|Hello "World"\n|      # “Q”は省略できる(区切り文字は任意の記号)

%q{Hello World}         # '' の別形式(対応する括弧が区切りになる)

%x(date)                # `` の別形式

%w(foo bar baz)         # 配列 ["foo", "bar", "baz"]


[[ %Q!Hello "World"\n!	# an alternative to "..." (no need to escape
the quote marks)

%|Hello "World"\n	# the "Q" can be omitted (an arbitrary character can
be used for seperation)

%q{Hello World}		# an alternative to '...' (ends at the matching })

%x(date)		# an alternative to `...` 

%w(foo bar baz)		# array [foo, bar, baz] ]]


Then the table below the above would be:


文字列表現が%で始まる時は次の1文字でその文字列のタイプが決まります。

[[When a string expression begins with % the type of expression is
determined by the next character.]]


次の1文字			文字列のタイプ

Qまたは省略			""

q				''

x				``

r				正規表現

w				文字列のリスト(単語で分割)



[[Next Character		Type of String

Q, or it may be omitted	       Double quotes "..."

q			       Single quotes '...'

x			       Back ticks `...`

r			       Regular Expression

w			       Word List (parsed by words)]]


Does this work okay? Thanks again.

Jon

-- 
Jon Babcock <jon / kanji.com>