Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

(tye)Re: CRSC

by tye (Cardinal)
on Feb 02, 2001 at 22:07 UTC ( #56045=note: print w/ replies, xml ) Need Help??


in reply to CRSC

$eng =~ s/you/ya/ig; $eng =~ s/aren't you/int'cha/ig;

Note that the second line above will never do anything since "aren't you" will become "aren't ya" before the line is executed. Similarly, "army" will never be changed as it will become "arme" before the relavent regex gets run.

That first error jumped out at me but looking closer it looks like you've accounted for most of those types of errors. Just a few minor bugs still left (ain't that always true). (:

        - tye (but my friends call me "Tye")


Comment on (tye)Re: CRSC
Download Code
Re: (tye)Re: CRSC
by BrotherAde (Pilgrim) on Feb 22, 2001 at 13:51 UTC
    Doesn't seem that much of a problem to me, couldn't you just switch the relevant regexen around? (Same applies to the "Pub - Nuclear sub" issue further down) Brother Ade

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56045]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (20)
As of 2014-12-18 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls