個人的に結構ハマってしまったのでメモ
# null文字の定義
null_string = "\0"
=> "\u0000"
# null文字を引っ掛ける
null_string.match(/\0/)
=> #<MatchData "\u0000">
Go to list of users who liked
More than 3 years have passed since last update.
個人的に結構ハマってしまったのでメモ
# null文字の定義
null_string = "\0"
=> "\u0000"
# null文字を引っ掛ける
null_string.match(/\0/)
=> #<MatchData "\u0000">
Register as a new user and use Qiita more conveniently
Go to list of users who liked