Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

(tye)Re: CRSC

by tye (Sage)
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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2015-10-10 00:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls