User Tools

Site Tools


eg-259:homework:9

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
eg-259:homework:9 [2012/02/22 13:41] eechriseg-259:homework:9 [2012/02/22 13:55] – [3. Practical Exercises] eechris
Line 34: Line 34:
 ===== 3. Practical Exercises ===== ===== 3. Practical Exercises =====
  
-  * Copy and paste the following text into the //Target// window of [[/eg-259/examples/lecture7/JRX.html|JRX]]+  * Copy and paste the following text into the //Target// window of [[/eg-259/examples/lecture7/regexpal/index.html|RegexPal]] or [[/eg-259/examples/lecture7/JRX.html|JRX]]
  
     Xooo     Xooo
Line 51: Line 51:
     Some wiki text with words in //italic// and **bold**. Like //this// or **that**.     Some wiki text with words in //italic// and **bold**. Like //this// or **that**.
          
 +    ----
     Alice was beginning to get very tired of sitting by her sister on the bank, and of having     Alice was beginning to get very tired of sitting by her sister on the bank, and of having
     nothing to do: once or twice she had peeped into the book her sister was reading, but it     nothing to do: once or twice she had peeped into the book her sister was reading, but it
Line 70: Line 71:
     across the field after it, and fortunately was just in time to see it pop down a large     across the field after it, and fortunately was just in time to see it pop down a large
     rabbit-hole under the hedge.     rabbit-hole under the hedge.
 +    ----
 +
 +    End of File
  
   * Write regular expressions to match:   * Write regular expressions to match:
     - any non-blank line of text.     - any non-blank line of text.
-    - any word.+    - any //proper// word((That is as we normally understand the term ... not the ''\w'' definition)).
     - the telephone number.     - the telephone number.
     - ''"X"'' followed by up to two ''"o"'' characters     - ''"X"'' followed by up to two ''"o"'' characters
eg-259/homework/9.txt · Last modified: 2012/02/22 13:58 by eechris