Skip to content

Latest commit

 

History

History
36 lines (17 loc) · 1.75 KB

Report5.md

File metadata and controls

36 lines (17 loc) · 1.75 KB

I used vimdiff to compare the result files and found the difference


5 1

Link to file 201

For test file 201, my implementation was correct because the semicolon next to the brackets should not register the line as a link

201pre

The main problem with the implement of course file is that it is not able to find out if there is something inbetween the close braket and open parenthesis. The file simply detect the open parenthesis where ever it is and take it as effective. The file should not recognize the link when there is distance between the open parenthesis and close braket.

201 prob


5 2

Link to file 22

For test file 22, it should return “/bar* “ti*tle”, so my file was correct

22pre

The problem with the code here is that it does not accept links with space in it. However, the markdown file takes whatever is inside the two parenthesis that are in the same line, so I believe the first half of the if statement should be deleted.

22 prob