Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Matching Newlines in RegExp

by markjugg (Curate)
on Jun 14, 2004 at 19:43 UTC ( #366671=note: print w/ replies, xml ) Need Help??


in reply to Matching Newlines in RegExp

When you say "the above code doesn't work", I think you mean "I didn't get the result I expected".

So what result did you expect, and what result did you get?

Sometimes I find it usefult to make simple "Test::More" style tests when illustrating for others that something isn't working. This means that I have a complete code sample that isolates and reproduces the issue. It also makes it clearer what results I expected compared to those I actually got. Finally, I can keep the result asan automated test script to run later to verify the quality of my software.

I think with a clearer example, more suggestions will appear about how to fix or improve your code.


Comment on Re: Matching Newlines in RegExp

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-29 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls