ex.)
str = 'ID5'
str.ucase # -> ID5
str.upcase! # -> nil
ex.)
str = 'AaA'
/^#{str}$/ =~ 'AAA' # -> nil
/^#{str}$/i =~ 'AAA' # -> nil (This is strange)
/^#{str.upcase!}$/ =~ 'AAA' # -> nil (This is also strange)
/^#{str.upcase}$/ =~ 'AAA' # -> 0
str = 'ID5'
str.ucase # -> ID5
str.upcase! # -> nil
str = 'AaA'
/^#{str}$/ =~ 'AAA' # -> nil
/^#{str}$/i =~ 'AAA' # -> nil (This is strange)
/^#{str.upcase!}$/ =~ 'AAA' # -> nil (This is also strange)
/^#{str.upcase}$/ =~ 'AAA' # -> 0
At kernel 3 find wireless hardware lspci | grep -i wireless check using current kernel module with PCI bus address lspci -vv -s 0c:...
0 件のコメント:
コメントを投稿