[#4567] Re: What's the biggest Ruby development? — Aleksi Niemel<aleksi.niemela@...>

Dave said:

18 messages 2000/08/23
[#4568] Q's on Marshal — Robert Feldt <feldt@...> 2000/08/23

[#4580] RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/25

[#4584] Re: RubyUnit testcase run for different init params? — Dave Thomas <Dave@...> 2000/08/25

Robert Feldt <feldt@ce.chalmers.se> writes:

[#4623] Re: RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/28

On Sat, 26 Aug 2000, Dave Thomas wrote:

[#4652] Andy and Dave's European Tour 2000 — Dave Thomas <Dave@...>

24 messages 2000/08/30
[#4653] Re: Andy and Dave's European Tour 2000 — matz@... (Yukihiro Matsumoto) 2000/08/30

Hi,

[#4657] Ruby tutorials for newbie — Kevin Liang <kevin@...> 2000/08/30

Hi,

[ruby-talk:04285] Re: [[:alnum:]] etc

From: matz@... (Yukihiro Matsumoto)
Date: 2000-08-01 01:31:03 UTC
List: ruby-talk #4285
Hi,

In message "[ruby-talk:04282] Re: [[:alnum:]] etc"
    on 00/07/31, Dave Thomas <Dave@thomases.com> writes:

|> > A quick question following a recent post on ruby-list: should we be
|> > documenting the Posix character classes such as [[:alnum:]] in the
|> > book?

|I'm just wondering if there's a good reason _why_ they're not
|documented (perhaps they don't work on SJIS text or some such).

It was because I've left it unfixed till I18N discussion.  For example,
Japanese codeset has two `a's.  One is ASCII 'a', and the other is
wider `a', which has same width to KANJI characters.  [:alnum:] may
have to match with the latter too.

# There are same concerns for \s, \d and \w. which is documented.
# You may say this double standard. ;-)

As long as ASCII characters, It works fine on all encodings which Ruby
supports.  I don't claim strongly that this should be undocumented.
But I must clarify my brain a bit more before making decision.

							matz.

In This Thread

Prev Next