Search found 625 matches

by Thierry
Fri Mar 29, 2019 7:18 am
Forum: Announcements
Topic: [ANN] bnGuides alignment tool on livecodeshare
Replies: 11
Views: 1226

Re: [ANN] bnGuides alignment tool on livecodeshare

Hallo Bernd,


Was waiting for this kind of tool since such a long time....

sunnY- 2019-03-29 à 07.14.07.png

Congrats for this brilliant tool and thanks for my kids :)

mit freundlichen Grüßen,

Thierry
by Thierry
Mon Mar 25, 2019 12:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cannot make stand alone with Xcode 10.1, sdk 12.1
Replies: 3
Views: 490

Re: Cannot make stand alone with Xcode 10.1, sdk 12.1

So which version of Livecode should I be using? The best way to answer this question is to have a look at the releases notes. You can find them there: https://downloads.livecode.com/livecode/ Here is the iOS section of the release notes for the latest stable version of LC: iOS deployment is possibl...
by Thierry
Mon Mar 25, 2019 10:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Refering to INKs by using numbers?
Replies: 7
Views: 509

Re: Refering to INKs by using numbers?

A number might be better if one wanted to cycle through all the modes
automatically.
you could put all the modes in an array and cycle through the array...

Regards,

Thierry
by Thierry
Sun Mar 24, 2019 1:17 pm
Forum: Talking LiveCode
Topic: Find offset of first and last char of Word x in a field
Replies: 8
Views: 687

Re: Find offset of first and last char of Word x in a field

Hi Kaveh, As you are a fan of regex, here is my take on this: function forKaveh T local Rslt local Rx = "(?msx) (?:\w+?\s){4} (\w+) " get matchChunk( T, Rx, p0, p1) put "Indexes: " & p0 & " - " & p1 & cr into Rslt // only for testing: put char p0 to p1 of T after Rslt return Rslt end forKaveh and to...
by Thierry
Wed Mar 20, 2019 2:40 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 680

Re: Regex: Matching an empty character

kaveh1000 wrote:
Wed Mar 20, 2019 2:19 pm
Great. Thank you. That is the answer I was looking for.
Great.

Enjoy your day,

Thierry
by Thierry
Wed Mar 20, 2019 1:55 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 680

Re: Regex: Matching an empty character

Keenly look forward to the explanation, Thierry :-) I am using very latest BBEdit (12.6.1) Very quick but accurate answer: Bbedit is using: PCRE2 Library version 10.33-RC1 2018-09-14 Livecode is using: PCRE Library version 9.3 ( from memory) This makes all the differences. You can read the diffs do...
by Thierry
Wed Mar 20, 2019 1:08 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 680

Re: Regex: Matching an empty character

Hi Thierry Thanks for you time as ever. Does your solution require purchasing your software that does back-referencing? ;-) yes, sure :) In fact, I'm shamelessly promoting my own development... :roll: The search string works in BBEdit, using the search string and replacing all with space. Ok, I'll ...
by Thierry
Wed Mar 20, 2019 12:03 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 680

Re: Regex: Matching an empty character

Probably a question for Thierry. ;-) At your service, Sir 8) put replacetext( \ tGname, \ "((?<=[A-Z])(?=[A-Z]))", \ " ") \ into tGname Hi Kaveh, This will be my way to do it: put "([A-Z])(?=[A-Z])" into Rx if sunnyreplace( "aABCdeFGZ.", Rx, "\1 ", R ) then put R --> aA B CdeF G Z. This works in ot...
by Thierry
Wed Mar 06, 2019 8:10 pm
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 573

Re: simple regex replacetext question

slindstrom wrote: Thanks, Thierry! Both work with my data.
I'm glad that it works for you.
by Thierry
Wed Mar 06, 2019 12:35 pm
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 573

Re: simple regex replacetext question

put replaceText(tVar,"<table.*?>","<table>") into tVar Hi, Please try this one: replaceText( tVar,"(?ms)<table[^>]*?>","<table>") or: replaceText( tVar,"(?ms)(?<=<table)[^>]*?(?=>)","") Disclaimer: not tested, and as it is true ALL the time, writing a valid regex depends on the data. So take this w...
by Thierry
Sat Mar 02, 2019 7:36 pm
Forum: Off-Topic
Topic: Unicode functionality and operating systems.
Replies: 11
Views: 804

Re: Unicode functionality and operating systems.

I would be extremely grateful if anyone could give me some pointers on how to determine whether the fault lies in LiveCode, the operating system it is being deployed on, or both. Hi Richmond, My guess is that libICU (unicode library) needs to be updated in Livecode core. I believe one could find on...
by Thierry
Sat Mar 02, 2019 7:26 pm
Forum: Off-Topic
Topic: Unicode functionality and operating systems.
Replies: 11
Views: 804

Re: Unicode functionality and operating systems.

Klaus wrote:
Sat Mar 02, 2019 7:22 pm
Merci, mon ami!

But "Karneval" is not my "cup of tea".
Ordered/forced cheerfullness for a week?
Sir, no, Sir! I am crazy throughout the whole year! :-)
LOL :)
I've been myself once in Koln, and never again.
But I know so many relatives and friends enjoying it.... :)

Thierry
by Thierry
Sat Mar 02, 2019 7:15 pm
Forum: Off-Topic
Topic: Unicode functionality and operating systems.
Replies: 11
Views: 804

Re: Unicode functionality and operating systems.

although I consider this a (well done) fake, it looks cool! :-) You're too clever Klaus 8) But why does "Colonel William Kurtz" (Apocalypse Now!) appear in the credits?! :shock: Sorry, no idea;, ask e-mediapublishing... :wink: Wish you a nice Rosenmontag, Karnevalsdienstag und Aschermittwoch :) Kin...
by Thierry
Sat Mar 02, 2019 5:47 pm
Forum: Off-Topic
Topic: Unicode functionality and operating systems.
Replies: 11
Views: 804

Re: Unicode functionality and operating systems.

Or, even more to the point: the only motivating factor for my Devawriter Pro is to help translate Asterix into Hindi and Sanskrit. 8) Hi Richmond, May be that you find some more inspiration with this 50 years birthday of Asterix in my country: https://www.youtube.com/watch?v=4ty8hWoacZo Have fun :)
by Thierry
Wed Feb 20, 2019 9:57 am
Forum: Talking LiveCode
Topic: Problem with regex at start of line
Replies: 6
Views: 393

Re: Problem with regex at start of line

Hi Kaveh,

Your regex will suppress *only* the first spaces of the beginning of the whole text !

Try this one instead:
"(?m)^(\s+)"
will do it on every line.

The clue hereis (?m) -> mode multi-line which changes the meaning of the caret.

Regards,

Thierry

Go to advanced search