General

Profile

iainbeeston (Iain Beeston)

  • Login: iainbeeston
  • Registered on: 02/10/2021
  • Last sign in: 09/18/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/06/2023

03:36 PM Ruby Bug #19867: Unicode line and paragraph separator are not stripped
I can see that the `[[:space:]]` regex class does match unicode whitespace characters (`"\u2028" =~ /[[:space:]]/ # => 0`) but `\s` does not (`"\u2028" =~ /\s/ # => nil`) iainbeeston (Iain Beeston)
03:28 PM Ruby Bug #19867 (Rejected): Unicode line and paragraph separator are not stripped
Unicode newline and paragraph separators are not removed by any of the strip methods:
`"\u2028\u2029\u0000\t\n\v\f\r ".strip # => "\u2028\u2029"`
I would have expected `strip` (and `lstrip`, `rstrip`) to remove unicode whitespace a...
iainbeeston (Iain Beeston)

Also available in: Atom