A Gentle Introduction to
Options and brackets
We can nest options, this allows us to specify complicated
The bar (|) may be used to allow options. A|B means either A or B
is permitted. We can use brackets in these regular expressions.
Any of the following is allowed:
- An amount may be pounds folowed by pence.
- An amount may be euros followed by cents.
- An amount may be dollars followed by cents.
Complete the DTD