regex deconstructor

Mike Kerner MikeKerner at roadrunner.com
Tue Jan 23 21:00:28 EST 2018


well that might do it.
And don't call me "Richard".

On Tue, Jan 23, 2018 at 6:12 PM, Martin Koob via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi Richard.
>
> I found this site https://regexr.com when I was trying to make a regex
> expression that I could use to find GLX calls I used in my stacks excluding
> ones that I had already knew I used like glxAppSetProp, glxAppGetProp,
> glxAppSetPref, glxAppGetPref.  This was to gauge what I would need to do to
> transfer to Levure.
>
>
> I think this may do some of the things need. As you mouse over parts of the
> expression it will explain what it does.  You can also paste sample text to
> test your expression on.
>
> BTW Through several rounds of trial and error I came up with this.
>
> (?!glx[Aa]pp_[Gg]et[Pp]ref\(.*\))(?!glx[Aa]pp_[Ss]et[Pp]ref\
> (.*\))(?!glx[Aa]pp_[Ss]et[Pp]rop\(.*\))(?!glx[Aa]pp_[Gg]et[
> Pp]rop\(.*\))(?!glx[Aa]pp_[Ss]etPref\b)(\bglx)
>
> This found the the only other GLX handlers I was using were
>
>   glxapp_savePrefs
>   glxApp_updateAvailable
>
> Now I have to figure out how to get change these to calls to Levure
> equivalents.
>
> Martin
>
>
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list