Search the web
Sign In
New User? Sign Up
perl-beginner · Perl Beginners Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 20083 - 20112 of 26720   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
20083
Hi JE, No, unfortunately not. I have to pass the "negated" RE as a new RE to the parsing program, so i'll have to come up with a "complement RE" for : ...
Allan Dystrup
allan_dystrup
Offline Send Email
Dec 1, 2004
8:27 am
20084
... Hmmm... here's what I have so far: # Looking for selected matches on a five character string # (What's the name of this string? What does it mean?) # 2...
J.E. Cripps
cycmn@...
Send Email
Dec 1, 2004
10:21 am
20085
errata: #((CX) ( ([0-2]|[4-9]) \d{1})) | # match CX followed by # any digit except 3 #should be ((CX) (([0-2]|[4-9]) \d{2}) | # or end with (..) ...
J.E. Cripps
cycmn@...
Send Email
Dec 1, 2004
11:02 am
20086
Hi JE, Yes i can follow your line of reasoning here, step by step building up the "negated" Regex'es. It is workable (actually more 'work' than 'able' to my...
Allan Dystrup
allan_dystrup
Offline Send Email
Dec 1, 2004
11:24 am
20087
Let's say I have a string that contains the following textwhich could be any length. " Yyyy. 0 Xxxxxx. 00000" I tried using the substr() without any success....
markev_123
Offline Send Email
Dec 1, 2004
1:13 pm
20088
... everything I've seen indicates that there isn't any such feature, and the complementing a regexp tends to be laborious, messy or both ... the ^ should be...
J.E. Cripps
cycmn@...
Send Email
Dec 1, 2004
1:42 pm
20089
Dear Allan, I think you are looking for: "(?!pattern)" A zero-width negative look-ahead assertion. For example "/foo(?!bar)/" matches any occurrence of "foo"...
Jonathan Paton
jepaton@...
Send Email
Dec 1, 2004
1:48 pm
20090
Got it! ($str1, $stri2) = split(/Xxxxxx. /, $L, 2); ... could ... digits. ... couldn't...
markev_123
Offline Send Email
Dec 1, 2004
2:32 pm
20091
I can't figure out what I'm doing wrong. When I run my script I get the file listing from the external file. Whats not happening is I want to read in the first...
markev_123
Offline Send Email
Dec 1, 2004
3:38 pm
20092
Hi, Debugging is a skill learned by doing, so I am only going to give hints. For each filename, you are doing: open INFILE, "< $line" or die qq(Cannot open ...
Jonathan Paton
jepaton@...
Send Email
Dec 1, 2004
3:51 pm
20093
... You are getting the contents of filename.in because you are printing it yourself with 'print "$line"'; You really shouldn't expect to see the contents of a...
buxh42a
Offline Send Email
Dec 1, 2004
4:16 pm
20094
Hi Jonathan , Yes indeed, i've reached the same conclusion. The (?!pattern) can solve the issue in as clean a way as it's probably possible with Regex'es. Eg: ...
Allan Dystrup
allan_dystrup
Offline Send Email
Dec 1, 2004
4:41 pm
20095
Hello everyone: Hello I am doing a exercise which requires me to find out all the words that contains five vowels(a, e, I, o, u) from a text file. I wrote a...
Jeff Shu
santa98bn
Offline Send Email
Dec 2, 2004
11:54 pm
20096
... Your code's looking for something that has "aeiou" -- exactly like that. If you want something that'll look for either a, e, i, o, or u in each line, then...
eman
egcalso
Offline Send Email
Dec 3, 2004
12:34 am
20097
... Another method would be something like: for a single word - /a\w?e\w?i\w?o\w?u/; for a line of text with any chars in between - /a.?e.?i.?o.?u/ Peace - Ron...
Ron Goral
subscriptions@...
Send Email
Dec 3, 2004
12:56 am
20098
On Thu, 2 Dec 2004 18:55:25 -0600, Ron Goral ... But wouldn't those require that the vowels (a, e, i, o, u) are in that order? -- http://www.bloodpet.tk/ An...
eman
egcalso
Offline Send Email
Dec 3, 2004
1:08 am
20099
... K. This one I tried first. ;P # All the vowels, not in order my $text = qq[Every good boy deserves favor.]; # All except a, not in order my $other =...
Ron Goral
subscriptions@...
Send Email
Dec 3, 2004
1:35 am
20100
... Ummmmmmmmmmmm Good thing that wasn't production code. (weak smile). Please disregard this ill-considered contribution....
Ron Goral
subscriptions@...
Send Email
Dec 3, 2004
1:39 am
20101
... Why use the /g modifier in an 'if'? The first match is all we need for truth. Other matches don't matter. Also $1 will never be true if the test fails. ...
Charles K. Clarkson
charlesclarkson
Offline Send Email
Dec 3, 2004
1:51 am
20102
... Correct about the g modifier. But, this is not a complete program, just an illustration of how to capture the match. What to do when it matches or not is...
Ron Goral
subscriptions@...
Send Email
Dec 3, 2004
2:07 am
20103
... all five? or words with any selection (aaiio, aeeou, eeeio)? ... Hint: /cat/ will match "catalogue", "concatenate" "wildcat" ... this is IIRC perlrequick...
J.E. Cripps
cycmn@...
Send Email
Dec 3, 2004
5:12 am
20104
Greetings! We need Testers/Implementors (C/C++, Unix shell scripting - Telecom background) for our client at Bangalore. About the company: Our client is...
Madhura Kulkarni
terrafirmapune
Offline Send Email
Dec 3, 2004
9:27 am
20105
... I would do: while (<>) { next unless tr/a//; next unless tr/e//; next unless tr/i//; next unless tr/o//; next unless tr/u//; print; } Mike...
Mike Flannigan
mikeflann
Offline Send Email
Dec 3, 2004
3:20 pm
20106
I had this thought... (ok.. duct tape your collective heads, perl addicts!) i know this is not the correct way, but I was wondering if there was a way a open...
Luinrandir Hernsen
Luinrandir
Offline Send Email
Dec 3, 2004
8:09 pm
20107
I had this thought... (ok.. duct tape your collective heads, perl addicts!) i know this is not the correct way, but I was wondering if there was a way a open...
Luinrandir Hernsen
Luinrandir
Offline Send Email
Dec 3, 2004
8:12 pm
20108
I had this thought... (ok.. duct tape your collective heads, perl addicts!) i know this is not the correct way, but I was wondering if there was a way a open...
Luinrandir Hernsen
Luinrandir
Offline Send Email
Dec 3, 2004
8:14 pm
20109
I had this thought... (ok.. duct tape your collective heads, perl addicts!) i know this is not the correct way, but I was wondering if there was a way a open...
Luinrandir Hernsen
Luinrandir
Offline Send Email
Dec 3, 2004
8:16 pm
20110
I had this thought... (ok.. duct tape your collective heads, perl addicts!) i know this is not the correct way, but I was wondering if there was a way a open...
Luinrandir Hernsen
Luinrandir
Offline Send Email
Dec 3, 2004
8:18 pm
20111
I had this thought... (ok.. duct tape your collective heads, perl addicts!) i know this is not the correct way, but I was wondering if there was a way a open...
Luinrandir Hernsen
Luinrandir
Offline Send Email
Dec 3, 2004
8:20 pm
20112
Dear Professionals, We have the following Urgent C Unix openings for US based MNC(Pay Master) Client. Education Qualification must be...
leo_contact
Offline Send Email
Dec 4, 2004
6:18 am
Messages 20083 - 20112 of 26720   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help