Re: Searching for the right regular expressions

2003-03-24 Thread scott . e . robinson
[EMAIL PROTECTED] .co.uk> cc: Subject: Re: Searching for the

Re: Searching for the right regular expressions

2003-03-24 Thread scott . e . robinson
cc: [EMAIL PROTECTED] 03/24/03 11:06 AM Subject: Re: Searching for the right regular expressions(Document link:

Re: Searching for the right regular expressions

2003-03-24 Thread Rob Dixon
Scott E Robinson wrote: > Hi, Rob! Amazing how quickly you coded those up! > > 1.a. works great. > > 1.b. doesn't quite work yet. The revised version (my @wanted = > $string =~ /\b\w\d*\b/ig;) seems to let everything pass through it. Sorry, I would say I'm having a bad day, but I'm not - I have

Re: Searching for the right regular expressions

2003-03-24 Thread scott . e . robinson
uk> cc: Subject: Re: Searching for the

Re: Searching for the right regular expressions

2003-03-24 Thread Stefan Lidman
[EMAIL PROTECTED] wrote: > > Dear Perl experts, > > I'm trying to find the right regular expressions to do some simple (?) > string processing. Can anyone tell me how to do these? #!/usr/bin/perl -lw use strict; > 1. Given a string consisting of substrings delimited by colons, such as > :B520:

Re: Searching for the right regular expressions

2003-03-24 Thread Rob Dixon
Hi. Rading your post again, it looks like I kinda screwed up. Lets try again! Rob Dixon wrote: > Hi Scott > > Scott E Robinson wrote: > > Dear Perl experts, > > > > I'm trying to find the right regular expressions to do some simple > > (?) string processing. Can anyone tell me how to do these? >

Re: Searching for the right regular expressions

2003-03-24 Thread Rob Dixon
Hi Scott Scott E Robinson wrote: > Dear Perl experts, > > I'm trying to find the right regular expressions to do some simple (?) > string processing. Can anyone tell me how to do these? > > 1. Given a string consisting of substrings delimited by colons, such > as :B520:L201:M:M260:8:G607:,

RE: Searching for the right regular expressions

2003-03-24 Thread [EMAIL PROTECTED]
of "if" 1.c. a mix of 1.a & 1.b 3. Use 2 and compare blocks. Original Message: - From: [EMAIL PROTECTED] Date: Mon, 24 Mar 2003 08:56:23 -0600 To: [EMAIL PROTECTED] Subject: Searching for the right regular expressions Dear Perl experts, I'm trying to find the

Searching for the right regular expressions

2003-03-24 Thread scott . e . robinson
Dear Perl experts, I'm trying to find the right regular expressions to do some simple (?) string processing. Can anyone tell me how to do these? 1. Given a string consisting of substrings delimited by colons, such as :B520:L201:M:M260:8:G607:, how can I a. remove the single-character and