Timeline for Regex & Sed/Perl: Match word that ISN'T preceded by another word
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 6, 2011 at 20:48 | history | edited | Peter.O | CC BY-SA 3.0 |
deleted 1258 characters in body
|
| Nov 6, 2011 at 19:52 | history | edited | Peter.O | CC BY-SA 3.0 |
added 187 characters in body
|
| Nov 6, 2011 at 19:35 | history | edited | Peter.O | CC BY-SA 3.0 |
added 94 characters in body
|
| Nov 6, 2011 at 18:54 | history | edited | Peter.O | CC BY-SA 3.0 |
added 591 characters in body
|
| Nov 6, 2011 at 16:32 | comment | added | jonescb | This works, but the one problem I found was that if the word before Smith is capitalized (e.g. it comes after the first word in a sentence) then it doesn't match. The perl solution by manatwork doesn't have that problem, even if it would fail in other situations. Fortunately, my text file doesn't have titles like Mr. or people with the same last name. | |
| Nov 6, 2011 at 8:51 | history | edited | Peter.O | CC BY-SA 3.0 |
added 288 characters in body
|
| Nov 6, 2011 at 6:16 | history | edited | Peter.O | CC BY-SA 3.0 |
added 15 characters in body
|
| Nov 6, 2011 at 6:10 | history | edited | Peter.O | CC BY-SA 3.0 |
added 15 characters in body
|
| Nov 6, 2011 at 6:00 | history | answered | Peter.O | CC BY-SA 3.0 |