Re: regular expression, this but not that

2011-09-18 Thread Gabor Szabo
On Mon, Sep 19, 2011 at 7:38 AM, Jer A wrote: > All, > > lets say i want to test if a string contains "pig" but not "dog" and/or not > "cat" > > i tried something like this: > >  =~ m/[^dog]|[^cat]|pig/ig > > what is the best way of going about this, using one regex? > > your help is very much app

Re: regular expression, this but not that

2011-09-18 Thread Glenn Linderman
On 9/18/2011 9:38 PM, Jer A wrote: All, lets say i want to test if a string contains "pig" but not "dog" and/or not "cat" i tried something like this: =~ m/[^dog]|[^cat]|pig/ig what is the best way of going about this, using one regex? your help is very much appreciated, perhaps the fol

regular expression, this but not that

2011-09-18 Thread Jer A
All, lets say i want to test if a string contains "pig" but not "dog" and/or not "cat" i tried something like this: =~ m/[^dog]|[^cat]|pig/ig what is the best way of going about this, using one regex? your help is very much appreciated, thanks. -Jeremy

Re: Catalyst install possible via PPM?

2011-09-18 Thread Sisyphus
- Original Message - From: "Bill Cowan" To: Sent: Monday, September 19, 2011 12:35 PM Subject: Catalyst install possible via PPM? > Have anyone been able to install Catalyst including set of useful > modules/plugins? I haven't tried. > The ActiveState repository only includes a few

Catalyst install possible via PPM?

2011-09-18 Thread Bill Cowan
Have anyone been able to install Catalyst including set of useful modules/plugins? The ActiveState repository only includes a few Catalyst plugins. Use another repository? Must I use Strawberry Perl to install a complete set of Catalyst modules? Thanks, Bill ___

GuiTest and Locked Screen

2011-09-18 Thread Edwards, Mark (CXO)
I have a simple Win32::GuiTest example where I find a Notepad window, print its handle and title and then send some keys to it. When I open Notepad and the run the script I see... 4915356: Untitled - Notepad Notepad pops up on top of other windows and "Testing 123" shows up in Notepad as ex