Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
RSS cloud
Jump to:

Assignment 1. Task 3.

1 of 390 articles shown, currently no other people reading this forum.
From: Christopher M.
Date: Sun 5th Apr 2020, 5:53am


"David May" <17*1*2*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> Could we have a sample text file for task 3 for unit testing purposes?
> I am also wondering about issues such as greater-than and less-than symbols ocurring in the text where they are used as mathematical sybols instead of delimiters.
> E.g. 0<x, and x>-1.

Hello David,

Any simple textfiles are suitable, such as the ones in Exercise sheet 3.

You may safely assume that the files used for testing will only have '<' and '>' around
the terms required in the index, and that each '<' will be followed by '>' on the same line.
Obviously, files with any HTML tags are unsuitable.

This task is about simple pattern matching, and not parsing.

Related articles

Assignment 1. Task 3. (both) RSS
├─ original   Fri 3rd Apr 2020, 3:43pm, David M.
└─ THIS   Sun 5th Apr 2020, 5:53am, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020