RE: Regex Help Needed

2003-09-02 Thread Schneider, Kenneth (EKT)
t: Tuesday, September 02, 2003 12:26 PMTo: Perl UsersSubject: Regex Help Needed I have a list of characters.  I need to get a list of all possble sequences of these characters for example.    I have a string that consists of '-mevqgn' I need to pattern match any combinat

Re: Regex Help Needed

2003-09-02 Thread $Bill Luebkert
$Bill Luebkert wrote: > Dax T. Games wrote: > > >>I have a list of characters. I need to get a list of all possble >>sequences of these characters for example. >> >>I have a string that consists of '-mevqgn' I need to pattern match any >>combination of 'mevqgn' with a preceding - or --. >> >

Re: Regex Help Needed

2003-09-02 Thread John Deighan
At 01:26 PM 9/2/2003, Dax T. Games wrote: I have a list of characters.  I need to get a list of all possble sequences of these characters for example.    I have a string that consists of '-mevqgn' I need to pattern match any combination of 'mevqgn' with a preceding - or --.   Right now this is w

RE: Regex Help Needed

2003-09-02 Thread Messenger, Mark
pha2) {print "Pattern found!\n";}       -Original Message-From: Dax T. Games [mailto:[EMAIL PROTECTED]Sent: Tuesday, September 02, 2003 11:26 AMTo: Perl UsersSubject: Regex Help Needed I have a list of characters.  I need to get a list of all possble sequences of these cha

RE: Regex Help Needed

2003-09-02 Thread Arms, Mike
or ( @test ) { print "$_ " . is_DTG_Option( $_ ) . "\n"; } -- Mike Arms -Original Message- From: Dax T. Games [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:26 AM To: Perl Users Subject: Regex Help Needed I have a list of characters. I nee

Re: Regex Help Needed

2003-09-02 Thread Charlie Schloemer
Users" <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 12:26 PM Subject: Regex Help Needed I have a list of characters. I need to get a list of all possble sequences of these characters for example. I have a string that consists of '-mevqgn' I need to pattern match a

Re: Regex Help Needed

2003-09-02 Thread Carl Jolley
On Tue, 2 Sep 2003, Dax T. Games wrote: > I have a list of characters. I need to get a list of all possble sequences of these > characters for example. > > I have a string that consists of '-mevqgn' I need to pattern match any combination > of 'mevqgn' with a preceding - or --. > > Right now th

RE: Regex Help Needed

2003-09-02 Thread Hanson, Rob
}    }       return 1;} -Original Message-From: Dax T. Games [mailto:[EMAIL PROTECTED]Sent: Tuesday, September 02, 2003 1:26 PMTo: Perl UsersSubject: Regex Help Needed I have a list of characters.  I need to get a list of all possble sequences of these characters for exampl

Re: Regex Help Needed

2003-09-02 Thread Will of Thornhenge
Have you tried playing around with character sets? Something like $target = 'mevqgn'; $length_target = length $target; if ( $LS_Val =~ /-{1,2}[$target]{$length_target}/ ) { #do something } Whether the above would work for you would depend on whether the code can ignore positive matches on $LS_

RE: Regex Help Needed

2003-09-02 Thread Wagner, David --- Senior Programmer Analyst --- WGO
, $MyData; }else {    printf "All necessary characters were present.\n"; }   From your description they should only appear once, doesn't matter sequence. I believe it could be a starting place.   Wags ;) -Original Message-From: Dax T. Games [mailto:[EMAIL PROTECTED]S

Re: Regex Help Needed

2003-09-02 Thread $Bill Luebkert
Dax T. Games wrote: > I have a list of characters. I need to get a list of all possble > sequences of these characters for example. > > I have a string that consists of '-mevqgn' I need to pattern match any > combination of 'mevqgn' with a preceding - or --. > > Right now this is what I am d

Regex Help Needed

2003-09-02 Thread Dax T. Games
I have a list of characters.  I need to get a list of all possble sequences of these characters for example.    I have a string that consists of '-mevqgn' I need to pattern match any combination of 'mevqgn' with a preceding - or --.   Right now this is what I am doing but it is very ugly a