[squeak-dev] Re: Daily Commit Log

Levente Uzonyi leves at caesar.elte.hu
Tue Aug 16 19:19:05 UTC 2016


String >> #asLegalSelector does what you're looking for, though it doesn't 
return a symbol.

Levente

On Tue, 16 Aug 2016, marcel.taeumel wrote:

> Eliot Miranda-2 wrote
>> Hi Marcel,
>>
>> On Sun, Aug 14, 2016 at 2:55 PM, <
>
>> commits at .squeak
>
>> > wrote:
>> [snip]
>>
>>>
>>> http://lists.squeakfoundation.org/pipermail/packages/2016-
>>> August/068596.html
>>>
>>> Name: HelpSystem-Core-mt.92
>>> Ancestors: HelpSystem-Core-mt.91
>>>
>>> Small fix to normalize selectors (needed for release notes).
>>>
>>> Is there a method to convert any string to a valid selector symbol?
>>>
>>
>> No, and there can't be.  For example, no brackets "()[]{}" are legal in
>> binary selectors.
>>
>> _,,,^..^,,,_
>> best, Eliot
>
> Hi Eliot,
>
> I meant something like this:
>
> "H/el\lo () ## .Wo..rld" -> #helloWorld
>
> Best,
> Marcel
>
>
>
> --
> View this message in context: http://forum.world.st/Daily-Commit-Log-tp4911026p4911372.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>


More information about the Squeak-dev mailing list