On Aug 29, 2009, at 11:33 AM, Yvan KOENIG wrote: no one has mentioned bug #1186965 yet...
I'm still trying to guess what happens when you coerce a list to text.
This whole system of item delimiters is excellent, however it may turn confusing in some cases. Ideally (but that's personal) we should be allowed to provide a regular _expression_ as the item delimiter. Also, ideally, you wouldn't need two instructions to split a text into a list, just one verb, something like:
splittextintolist "Hello, world: salut, monde." using "(, |: )" regular _expression_ true
--> {"Hello", "world", "salut", "monde."}
You mean something like
get words of "Hello, world: salut, monde."
Not exactly because get words of "(Hello), world: salut|, monde." returns {"Hello", "world", "salut", "|", "monde"} When, if I understood well, Emmanuel wish is supposed to return: {"Hello", "world", "salut", "monde"} Yvan KOENIG (VALLAURIS, France) samedi 29 août 2009 17:32:59
Yvan,I obviously meant it as a joke. I'd love to have an AS native regex command.
However, I do feel that capturing "|" as a word is not exactly what I call a proper behavior.
get words of "(Hello)" --> {"Hello"}
get words of "|salut|" --> {"|", "salut", "|"}
Even if "|" is not to be understood as a punctuation I don't think I'd expect that as a result.
|