Re: Regex replacements (\1, \2) not matching

2018-11-11 Thread James Hale via use-livecode
You can do quite a lot with LC's chunk expressions as well as with the matchtext and matchchunk functions. If you are willing to put a bit of time using these functions and arrays you can pretty much make up for LC's shortcomings in this area. If you have an Indy or Business license of LC the

Re: How to find offsets in Unicode Text fast

2018-11-11 Thread Brian Milby via use-livecode
I just tried one additional test. Search for "åå" within "aaååÅÅååaa". (On a Mac keyboard, the characters are made with A, Option-A, and Shift-Option-A.) The Offset UTF16 version does not return the correct result if case sensitive is false (returns the same value as if it were true: 3,7). Every

Re: How to find offsets in Unicode Text fast

2018-11-11 Thread Brian Milby via use-livecode
I just pushed an updated binary stack that adds check boxes for case sensitive and no overlaps. These settings are per card so separate tests can be performed each way. Of note, the search for "The" in John 1 is quite a bit faster if case sensitive is true. Also, if case sensitive is true, then

Re: How to find offsets in Unicode Text fast

2018-11-11 Thread Brian Milby via use-livecode
I just posted an updated stack with the UTF16 and UTF32 offset variants. I did change the search on the first card to “The” and the counts remained the same so case folding does work for ASCII values.  I would need some other test text to check other cases where Unicode case folding would be exp

Re: Regex replacements (\1, \2) not matching

2018-11-11 Thread Kaveh Bazargan via use-livecode
Thank you both for your comments. My jaw dropped that I had not noticed that before!! I need to do a lot of text manipulation, so hopefully I can do that with LiveCode's friendly and powerful text chunk features. On Sun, 11 Nov 2018 at 14:22, Sean Cole (Pi) via use-livecode < use-livecode@lists.ru

[solved] Re: https, 301 redirection and get URL

2018-11-11 Thread jbv via use-livecode
Hello again, As a follow-up to this thread : if anyone's interested, the problem was that the permanent redirection was set to port 80; after removing that line from the htaccess file, everything started working like a charm. Best. On Sun, November 11, 2018 10:17 am, jbv via use-livecode wrote: >

Re: LC/macOS App Store

2018-11-11 Thread JJS via use-livecode
Yep, you're correct. It says 64bit. I must have been blind. thanks! Op 11-11-2018 om 14:59 schreef Sean Cole (Pi) via use-livecode: The release notes for 9.0.0 stable state otherwise as quoted below referring directly to the IDE, not Standalones. To quote: The *IDE* is now 64-bit by default

Re: Regex replacements (\1, \2) not matching

2018-11-11 Thread Sean Cole (Pi) via use-livecode
Hey Kaveh, To break down your request you are searching if the string "one two" matches the pattern "(.+) (.+)" which it does as there are two word with a space between that can have at least 2 characters per word (. = any character, + = and extra character of that type, in this case 'any'). As it

Re: Regex replacements (\1, \2) not matching

2018-11-11 Thread James At The Hale via use-livecode
Kaveh, You are not missing anything. LC’s implementation of REGEX is. It can’t use back referencing in replacement strings. > What am I missing? I put in message box: > put replacetext("one two", "(.+) (.+)", "\2 \1") > I get result: > "\2 \1" > rather than: > "two one" James __

Re: LC/macOS App Store

2018-11-11 Thread Sean Cole (Pi) via use-livecode
The release notes for 9.0.0 stable state otherwise as quoted below referring directly to the IDE, not Standalones. > To quote: >> The *IDE* is now 64-bit by default on Mac I also checked on my versions here and it is definitely 64bit so I’m not sure why your machine is not saying the same. Try th

Re: LC/macOS App Store

2018-11-11 Thread JJS via use-livecode
Yes i know the standalone can be 64bit. I also know how to check in Macos if a program is 64bit. I was talking about the IDE itself. That's 32-bit. Op 10-11-2018 om 22:41 schreef Pi Digital via use-livecode: https://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0.pdf#page32 To quot

Regex replacements (\1, \2) not matching

2018-11-11 Thread Kaveh Bazargan via use-livecode
What am I missing? I put in message box: put replacetext("one two", "(.+) (.+)", "\2 \1") I get result: "\2 \1" rather than: "two one" -- Kaveh Bazargan Director River Valley Technologies • Twitter • LinkedIn

https, 301 redirection and get URL

2018-11-11 Thread jbv via use-livecode
Hi list, I am updating an old standalone for a client of mine who has just migrated his domain to HTTPS. There is also a permanent redirection 301 from http to https in the htaccess file. The standalone uses numerous commands in the form get URL "http://www.mydomain.com/irev/myScript.lc"; which

Re: put the openStacks

2018-11-11 Thread Richmond via use-livecode
Um, that kicking might prove mutual; or even, dare I say it, into a free-for-all melee among quite a few people. Richmond. On 11.11.18 г. 0:38 ч., J. Landman Gay via use-livecode wrote: Well you wouldn't be our Richmond if you weren't occasionally silly, but I'd be glad to kick you next time w