On 10/02/2016 7:10 pm, Tiemo Hollmann TB wrote:
I have looked for a find or offset syntax with wildcards, to get easily the
offset of all links, like offset("~*#",myText,lastOffset), but I only found
the approach to loop thru the chars of the text and get with offset the
start and end tags, get the right pairs, what can be tricky, and set the
links.

Did I oversee anything or isn't there a wildcard syntax for find or offset?
I could be wrong, but I don't believe they support wildcards.

The matchChunk function supports using PCRE regular expressions and can return the position of substrings that are matched.

You might be able to use it to achieve what you want.

Cheers,

Charles
Thanks

Tiemo

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to