\w+
and Myers algorithm, underlined in wavy red.
Statistics‧published‧ by‧ the‧ [Oakland]‧ police‧ department‧ showed‧ year-to-year‧ crime‧ had‧ dropped‧ by‧ 33%‧ overall...‧ by‧But‧the‧ end‧ of‧ April,‧ a‧ dramatic‧ shift‧ after‧ last‧ year’s‧ spike.‧ Mayor‧ Sheng‧ Thao‧ praised‧ the‧ city‧ for‧ turning‧ a‧ corner.‧ Gov.‧ Gavin‧ Newsom‧ quoted‧ the‧ 33%‧ figure‧ in‧ a‧ news‧ release‧ touting‧ Oakland’s‧ partnership‧ with‧ the‧ California‧ Highway‧ Patrol.‧ The‧ news‧ spread‧ through‧ social‧ media‧ posts‧ and‧ optimistic‧ headlines,‧ including‧ stories‧ in‧ the‧ Chronicle.↵ a‧ new‧ Chronicle‧ review‧ of‧ Oakland‧ police‧ data‧ findsfound‧that‧ the‧ city‧ overstated‧ the‧ improvements ‧...actually‧ seen‧ on‧ the‧ streets.
# | Part | Valid? | Explanation |
---|---|---|---|
1 |
Statistics‧ |
||
2 |
[Oakland]‧
|
✓ yes | Insertion is properly bracketed. |
3 |
police‧ |
||
4 |
... |
✓ yes | Insertion is an ellipsis. |
5 |
‧
|
||
6 |
|
× no | Deletions cannot contain linebreaks. |
7 |
But‧ |
||
8 |
|
× no | Deletions must be indicated, eg by ‘...’ or [replacement]. |
9 |
found |
× no | Insertions must be surrounded by [brackets]. |
10 |
‧ |
||
11 |
|
✓ yes | Deletion is followed by a valid insertion. |
12 |
... |
✓ yes | Insertion is an ellipsis. |
Update: i/o has since followed up saying they quoted an archived version of the SF Chronicle article. But they haven’t provided the archived source.
Click this button to copy the embed code, then paste it where you want the diff to appear: