Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Regular expressions are:

by Porculus (Hermit)
on Mar 04, 2009 at 17:26 UTC ( #748248=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Regular expressions are:
in thread Regular expressions are:

Thy post, translated into Perl, appeareth thus: @foo[1] = s/bar/baz/;

Though it seem hard to the lewd, the proper conjugation of most regular verbs followeth certain simple rules, whereby archaic English can be writ without offending the eyes of the learned.

Write then not "thou dost speaketh", but only "thou dost speak" or "thou speakest". -eth is used only with the third person: "he doth speak", "she speaketh". The first person hath no special ending: "I do speak", "I speak".

As for regular expressions, they are both a blessing and a curse: they bless, for in them is power and expressivity, and the judicious and skilled use thereof maketh a program to be more pleasant and efficient in both the reading and the running; and yet they curse, for many who would write them lack both skill and judgement, and the result is oft great pain for any who would maintain such code.

If, as many monks have voted, regexen prove that God exists, then also they must prove that He hath a most wicked sense of humour ...


Comment on Re^3: Regular expressions are:
Download Code
Re^4: Regular expressions are:
by chexmix (Hermit) on Mar 04, 2009 at 22:52 UTC
    Almond Joye hath nuts; 'Zounds, none.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2014-09-16 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (42 votes), past polls