yld (Yves Le Douaron)
- Login: yld
- Email: nurachi@gmail.com
- Registered on: 11/04/2014
- Last sign in: 04/10/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/24/2014
-
10:52 AM Ruby Bug #10476: String.strip remove characters different than pure whitespace
- It looks perfect.
11/05/2014
-
09:01 AM Ruby Bug #10476: String.strip remove characters different than pure whitespace
- The example only includes 4 of these 7 characters, null, form feed and vertical tab are missing.
Maybe a documentation update could be usefull?
11/04/2014
-
04:34 PM Ruby Bug #10476: String.strip remove characters different than pure whitespace
- With the old 1.8.7 interpreter, the behaviour of strip was different:
~~~
1.8.7-head :010 > "#{0.chr}#{9.chr}#{10.chr}#{11.chr}#{12.chr}#{13.chr}#{32.chr}".strip
=> "\000"
1.8.7-head :011 > "#{0.chr}#{9.chr}#{10.chr}#{11.chr}#{12... -
03:42 PM Ruby Bug #10476 (Closed): String.strip remove characters different than pure whitespace
- The offical documentation (http://www.ruby-doc.org/core-2.1.4/String.html#method-i-strip) says:
**strip → new_str**
*Returns a copy of str with leading and trailing whitespace removed.*
But
~~~
[9] pry(main)> "#{0.chr}#{9.chr...