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

Re: REGEX malfunction

by graff (Chancellor)
on Jul 13, 2009 at 22:18 UTC ( #779764=note: print w/replies, xml ) Need Help??

in reply to REGEX malfunction

You said:
My wish is to able to search for the lines that are in bold and print them out.

How would you know whether a given line is "in bold"? There doesn't seem to be anything in the sample data that would convey this sort of information.

The only other occurrence of "bold" in the OP is a comment line next to an "if" condition, which is looking for an html anchor tag in the data. Is there something about html anchor tags that makes you think of a line being "in bold"?

... am still a perl newbie.

That hardly begins to describe your current condition. The current OP turns out to be exactly equivalent in every way to your three previous attempts to get help at PerlMonks, leading us to conclude that there's a bigger problem than just being a newbie.

For whatever reason(s), you are not learning anything -- you don't show any evidence of having read any book, tutorial, or manual about programming in perl, or any of the references that you've been given repeatedly about how to post questions effectively at PerlMonks. You haven't responded to any of the advice you've been given in your previous threads.

Have you been able to figure out that your code as posted in this thread does not compile? Do you know what that means? How about if you try to run the code, read the error messages that you get, and try to fix the problems in the code that the error messages are reporting?

If you don't know how to do that, and you want us to help you with that, you would have to:

  1. Post the exact code that you tried to run (using <code> tags)
  2. Post the exact error messages that you are unable to fix by yourself (again, using <code> tags)

That would be a good start. It would indicate a tremendous amount of progress for you, relative to what you have been able to show us so far.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2022-08-13 09:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found