a Regular troble

2012-10-16 Thread xiyoulaoyuanjia
hi listers: i am very sorry to say that i recently get in trouble with a Regular ! i want math the middle of 123 and 456 string! the Test Case below: -- 123faf456fafafafa->faf 33312323ff456456--->23ff 9123445677456-->4 --

Re: a Regular troble

2012-10-16 Thread Praveen Kumar
On Tue, Oct 16, 2012 at 8:40 PM, xiyoulaoyuanjia wrote: > hi listers: > i am very sorry to say that i recently get in trouble with a Regular ! > i want math the middle of 123 and 456 string! > the Test Case below: > -- > 123faf456fafafafa->faf > > 333123

Re: a Regular troble

2012-10-16 Thread Andy Bach
On Tue, Oct 16, 2012 at 10:10 AM, xiyoulaoyuanjia wrote: > i want math the middle of 123 and 456 string! > the Test Case below: > -- > 123faf456fafafafa->faf > > 33312323ff456456--->23ff Do you mean you want to add the 2 sets 3 digit chars/numbers found

Re: a Regular troble

2012-10-16 Thread Jim Gibson
On Oct 16, 2012, at 8:10 AM, xiyoulaoyuanjia wrote: > hi listers: > i am very sorry to say that i recently get in trouble with a Regular ! > i want math the middle of 123 and 456 string! > the Test Case below: > -- > 123faf456fafafafa->faf > > 33312323

Re: simplestic perl module

2012-10-16 Thread Rajeev Prasad
Hello Shlomi, thx for the help. I tried and it worked. however I have few confusions. I tried it two ways (one yours and one from another website)  I am not sure what is different between the two approaches. I do not know can you explain pl? from: http://www.tutorialspoint.com/perl/perl_modules

Re: simplestic perl module

2012-10-16 Thread j...@dodec.lt
Hi, I started to monitor this list not a while ago and just wanted to ask what is @ISA and @EXPORT here and how they are related to those "our" variables ? thanks, On 10/17/2012 8:07 AM, Rajeev Prasad wrote: Hello Shlomi, thx for the help. I tried and it worked. however I have few confusion