|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] [poll] regex literals |
Date: | Wed, 13 Feb 2008 10:38:35 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Macintosh/20071031) |
I'm thinking of adding regex literals to GNU Smalltalk. The only syntax I found that would work is ##/regex/. ... What do you think? Right now I'm more for "no" or "not yet", but I'm open to discussion.One thing I've seen with locale describing symbols in VisualWorks is #"de_de.UTF-8"
Yes, that's #'de_de.UTF-8'. It's supported in GNU Smalltalk too, for "weird" symbols that are not valid Smalltalk message names.
, so going along with this approach something like #/.../ makes sense.
Two hashes because #/ is valid Smalltalk. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |