I need some regex help.
I have a list that is of the form:
i.e.
1Testing1,7471,1,1,747
2Testing752,18001,752,1,1800
3Testing5398,58462,320,2,768
4Testing3,111.951,683.915,302.268,385.751
3,111.951,683.915,302.268,385.751
can have a list of number
Never mind. Solved it.
It was the pattern for the 2nd format. Fixed with
"(.+\t"&",\d+,\d+,\d+)|(.+\t\d+,\d+,"&",\d+)|(.+\t"&",\d*\.?\d*,\d*\.?\d*,\d*\.?\d*,\d*\.?\d*)"
On 1/30/2016 3:17 PM, Paul Dupuis wrote:
> I need some regex help.
>
> I have a list that is of the form:
>
> i.e.
> 1
On 01/30/2016 06:13 AM, Sannyasin Brahmanathaswami wrote:
Property sets appear easer to get and set across “sessions” (different times
during dev) than putting an array into a property. I don’t see you could set
just one element of tArray if it was contained in a property without taking it
I posted this link in my follow-up:
http://snapper.economy-x-talk.com/
Kind regards,
Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch
Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com
Op 1/28/2016 om 21:12 schreef Matt
Property sets appear easer to get and set across “sessions” (different times
during dev) than putting an array into a property. I don’t see you could set
just one element of tArray if it was contained in a property without taking it
out and putting it back in.
Am I wrong?
On January 29,
Regex is wonderfully compact to write relative to equivalent routines
using chunk expressions, but sometimes paid for in execution time.
When I come across a good regex example like the one you provided, if I
have a moment I like to test things out to see where regex is faster and
where it
I got a reasonable facsimile of my original vision by just using an entire
substack to define the capture area.
on mouseUp
set the blendlevel of stack "untitled 3" to 50
set the loc of stack "untitled 3" to the screenloc
go stack "untitled 3"
end mouseUp
Untitled 3 is a stack with
Wow. I would not have expected such a significant difference. Regex has
been around a long time and lots of smart computer science types has
spent time coming up with ways to optimize its performance for pattern
matching. I assumed (falsely) that regex based filters in LC would be on
par or even
On 01/30/2016 04:28 PM, Paul Dupuis wrote:
1) wondering if LC's hooks to whatever regex tool they are using under
the hood is a good as it should be
LC's regex library is the same PCRE library everyone else uses. And it's
the latest released version. Regex's power lies in its ability to
Maybe not….
@ colin:
Hmmm my strategy to work in a 16:9 1200px x 675px tall stack was working great
…..
until using animation engine where all values get translated into rects like
aeChangeRect the long ID of img "HALogo", 58,32,259,233,1500, “overshoot"
and these numbers are “hard
On 1/30/16 9:05 AM, Mark Wieder wrote:
-- get the entire array at once
put the uEffects of image 1 into tArray
And of course what you meant to say was:
put the customProperties["uEffects"] of image 1 into tArray
:-)
--
Phil Davis
___
Paul Dupuis wrote:
> Wow. I would not have expected such a significant difference. Regex
> has been around a long time and lots of smart computer science types
> has spent time coming up with ways to optimize its performance for
> pattern matching. I assumed (falsely) that regex based filters in
Does anyone have any method to “feather” the edges of a fld, rect or grc?
Any inner glow or outer glow leaves a sharp edge on the object no matter what
we do.
Any options there?
BR
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
On 31/01/2016 1:56 pm, "use-livecode on behalf of Sannyasin
Brahmanathaswami" wrote:
>Does anyone have any method to ³feather² the edges of a fld, rect or grc?
>
>Any inner glow or outer glow leaves a sharp edge on the object
14 matches
Mail list logo