core_solution2/docdiff.scala
changeset 401 9471c3b7ea02
parent 400 e48ea8300b2d
equal deleted inserted replaced
400:e48ea8300b2d 401:9471c3b7ea02
     1 // Preliminary Part about Code Similarity
     1 // Preliminary Part about Code Similarity
     2 //========================================
     2 //========================================
     3 
     3 
     4 
     4 
     5 object CW7a { 
     5 object C2 { 
     6 
     6 
     7 //(1) Complete the clean function below. It should find
     7 //(1) Complete the clean function below. It should find
     8 //    all words in a string using the regular expression
     8 //    all words in a string using the regular expression
     9 //    \w+  and the library function 
     9 //    \w+  and the library function 
    10 //
    10 //