Closed cyclotron3k closed 8 years ago
[[:space:]] includes unicode space characters too, so when Nokogiri interprets "12.3 MiB" as "12.3\u00A0MiB", Filesize will still work.
[[:space:]]
"12.3 MiB"
"12.3\u00A0MiB"
[[:blank:]] might be even better because it doesn't include newline and carriage returns.
[[:blank:]]
[[:space:]]
includes unicode space characters too, so when Nokogiri interprets"12.3 MiB"
as"12.3\u00A0MiB"
, Filesize will still work.[[:blank:]]
might be even better because it doesn't include newline and carriage returns.