Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: What it mathches`

by CountZero (Bishop)
on Aug 18, 2009 at 04:20 UTC ( [id://789334]=note: print w/replies, xml ) Need Help??


in reply to Re: What it mathches`
in thread What it mathches`

Did you notice? The Regex didn't even compile correctly: it failed to take into account the (nonsensical) final double quote after the '$'. Of course the regex engine has all reasons to stop reading the regex after '$' , but one would expect it to give some kind of error such as "garbage found after '$'".

Forget the above: I missed the 'space' after the 'def'.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^3: What it mathches`
by Anonymous Monk on Aug 18, 2009 at 07:04 UTC
      You are right. I did miss the "space" after the 'def'.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found