[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] problem with regex usage
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] problem with regex usage |
Date: |
Sun, 28 Sep 2008 13:29:49 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
dragoncity wrote:
> The following VWST code works fine, however in trying to convert to gst I
> cannot find much help
> in changing the REGEX line of code.
>
> The problem is to extract all the integers from a text line and sort into
> order and print, and NO its not a class test :-),
> just a example of string manipulation from a C++ site I think.
>
> I've tried replaceAllRegex:with: and am getting a doesNotUndertstand error
#replacingAllRegex:with: is the name of the selector.
You can also use #allOccurrencesOfRegex:.
Paolo