Perl project #2

Please write regular expressions for the following:
  1. A list of integer numbers (both positive and negative) separated with any number of spaces. There should be at least one number on the list.
  2. A HTML link tag like:
    <a class=myclass href="http://ist.marshall.edu">IST lecture notes web site</a>
    Please note that you need to be able to find only non-local links (the ones that start with "http://"). Also note that your a tag may have a different number of attributes.
  3. A string that has a double quoted string inside. For example, in the string
    "I'll go!" John said.
    it should match "I'll go!".
  4. For each regular expression above write down several test strings that you would use to debug it.
When you completed the regular expressions, write a Perl script that tests all your debug lines against your regular expressions. Make your script read test lines from a file given as a command line argument.