D
David A. Black
Hi --
Ugh. So \013 (vertical tab) is defined as whitespace:
irb(main):008:0> /[\s]/.match("\013")
=> #<MatchData:0x401d75a0>
and non-whitespace:
irb(main):007:0> /\S/.match("\013")
=> #<MatchData:0x401d9c38>
Rather hard to deduce....
David
| self !~ /[^\s]/
svg% ruby -rjj -e '/[^\s]/.dump'
Regexp /[^\s]/
0 charset_not \011-\015 (0)
1 end
svg%
D> self !~ /\S/
svg% ruby -rjj -e '/\S/.dump'
Regexp /\S/
0 charset_not \011-\012\014-\015 (0)
1 end
Ugh. So \013 (vertical tab) is defined as whitespace:
irb(main):008:0> /[\s]/.match("\013")
=> #<MatchData:0x401d75a0>
and non-whitespace:
irb(main):007:0> /\S/.match("\013")
=> #<MatchData:0x401d9c38>
Rather hard to deduce....
David