bang=[]
(33..126).each{|x| bang<<x.chr}
block=bang.repeated_permutation(2)
for i in 1..8836
x=block.next.join
if not "x".gsub("x",x).size==2
puts x
end
end
OUTPUT =>紅寶石。 GSUB單斜線組合&」 + 0
\&
\'
\+
\0
\1
\2
\3
\4
\5
\6
\7
\8
\9
\\
\`
大二這裏有一個。小腳本,顯示的特殊字符導致GSUB失敗......我希望能找到一個解決方案,使GSUB工作100%
嘗試寫簡單的話是什麼問題。所以人們知道你的代碼是關於什麼的。 – Meier