Re: matchChunk & matchText broken?

2021-08-15 Thread Peter Reid via use-livecode
Thanks Brian I didn't realise that was what was meant in the dictionary description! Now you've clarified things I can see how it should work, and it does! > Today's Topics: > > 1. PlayStore App Bundles. (Ralph DiMola) > 2. matchChunk & matchText broken? (pr...@reidit.

Re: matchChunk & matchText broken?

2021-08-13 Thread Brian Milby via use-livecode
If the regularExpression includes a pair of parentheses, the position of the substring matching the part of the regular expression inside the parentheses is placed in the variables in the positionVarsList. Sent from my iPhone > On Aug 13, 2021, at 4:33 AM, Peter Reid via use-livecode >

matchChunk & matchText broken?

2021-08-13 Thread Peter Reid via use-livecode
Either I'm doing something wrong or both matchChunk and matchText are broken. For example using matchChunk: local tStartPos, tEndPos put empty into tStartPos put empty into tEndPos put matchChunk("hello world how are you", "\ ho[a-z]", tStartPos, tEndPos) into itMatches put itMatches & "|" &