Search found 3 matches
- Wed Oct 29, 2014 8:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: matchText issues
- Replies: 6
- Views: 4121
Re: matchText issues
That's absolutely fantastic, Thierry! A big, big thank you - I bow down to your supreme regex/livecode knowledge! :D For reference, this is the approach I took, modifying Thierry's code from here : on mouseDown put field "Input" into MyVar repeat while matchChunk(MyVar, "(<[ -0-9a-zA-Z:]*[ 0-9a-zA-Z...
- Wed Oct 29, 2014 7:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: matchText issues
- Replies: 6
- Views: 4121
Re: matchText issues
Many thanks to you all! Yes, my regex can only be explained by a copy/paste disaster :lol: silly me - no wonder it didn't work! I have reformulated as below with my three variables set to capture all three groups (specifically capturing the 2nd group ready for export to my Output field): on mouseDow...
- Wed Oct 29, 2014 4:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: matchText issues
- Replies: 6
- Views: 4121
matchText issues
Hi all Bit of a LiveCode newbie; wondering if anyone could tell me what I've done wrong with my code. I have two text fields one called 'Input' and one called 'Output'. I'm using a regular expression to find HTML tags inside 'Input' then, upon clicking a button, listing the tags used within the docu...