Regex in smalltalk 2.2a

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Regex in smalltalk 2.2a

J Pfersich
I got this when I tried Regex's asString method:

st> regx asString !
Object: '' error: Invalid argument /this is a test string\n with two lines
in it./: must be a Character
SystemExceptions.WrongClass(Exception)>>#signal
SystemExceptions.WrongClass class>>#signalOn:mustBe:
SystemExceptions.WrongClass class>>#signalOn:mustBe:
String(Object)>>#checkIndexableBounds:put:
String>>#at:put:
String(SequenceableCollection)>>#atAllPut:
String class(ArrayedCollection class)>>#new:withAll:
Regex>>#asString
UndefinedObject>>#executeStatements
nil



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Regex in smalltalk 2.2a

Paolo Bonzini
J Pfersich wrote:
> I got this when I tried Regex's asString method:
>
> st> regx asString !
> Object: '' error: Invalid argument /this is a test string\n with two
> lines in it./: must be a Character

Thanks for the report.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk