regex/HTMLText question

dunbarx at dunbarx at
Tue Dec 15 15:56:23 EST 2009

Right, thanks to all.

Chris', your original regex question could better be addressed by:

on mouseup
    get fld "yourField"
    replace yourtext with "<box>" & yourtext & "</box>" in it
    set the htmltext of fld "yourField" to it
end mouseup

This would be fast, and easily extendable, since we are just crunching 

Not that there isn't a good regex solution as well...

Craig Newman

More information about the Use-livecode mailing list