Search found 606 matches

by Thierry
Wed Mar 20, 2019 2:40 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 193

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: 193

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: 193

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: 193

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: 209

Re: simple regex replacetext question

slindstrom wrote: Thanks, Thierry! Both work with my data.
I'm glad that it works for you.
SparkOut wrote: That's what I'd expect...
---
Hi Thierry!
Hi SparkOut,

Thanks for your words and hope you and your family are well.

Regards,

Thierry
by Thierry
Wed Mar 06, 2019 12:35 pm
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 209

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: 299

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: 299

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: 299

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: 299

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: 162

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
by Thierry
Fri Feb 08, 2019 9:42 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 9
Views: 456

Re: BBEdit 12.5 Language module for LC

Hmmm, Ok, I put this project aside... life is too short. If someone is interested by the code, giving away all copyrights, contact me with my private mail. This is an Xcode project in Obj-C, embedding a tiny lexer in C and a parser in C/C++ and of course linked to the BBEdit Language module SDK. Bes...
by Thierry
Fri Feb 08, 2019 8:44 am
Forum: Mac OS
Topic: Can't open USB serial device
Replies: 25
Views: 1072

Re: Can't open USB serial device

Got it to connect. I changed the device address to: "/dev/cu.usbmodem207F376659521" Hi, I think here is an explanation (at least for me): The idea is to supplement software in sharing a line between incoming and outgoing calls. The callin device (typically /dev/tty*) is used for incoming traffic. A...
by Thierry
Wed Feb 06, 2019 9:41 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 9
Views: 456

Re: BBEdit 12.5 Language module for LC

jameshale wrote: ok, so how do we obtain this?
Hi James,

Well, the main question of my original Post was:
who is interested ?
So, great; at least one is interested!

Kind regards,

Thierry
by Thierry
Tue Feb 05, 2019 9:24 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 9
Views: 456

Re: BBEdit 12.5 Language module for LC

Aha, cool. :D Sure and even more if one understand the plus of this tool compared to the codeless one :) The 2 main nice features are the possibility to fold everything ( repeat, switch, if, try,..) and the badges in the functions menu ( see screenshots in my 1st post). e.g, 7th level of folding at...

Go to advanced search