Merge lp:~stefanor/ibid/stripper-501336 into lp:~ibid-core/ibid/old-trunk-1.6
Proposed by
Stefano Rivera
Status: | Merged |
---|---|
Approved by: | Jonathan Hitchcock |
Approved revision: | not available |
Merged at revision: | 813 |
Proposed branch: | lp:~stefanor/ibid/stripper-501336 |
Merge into: | lp:~ibid-core/ibid/old-trunk-1.6 |
Diff against target: |
38 lines (+3/-4) 3 files modified
ibid/plugins/core.py (+1/-1) ibid/plugins/factoid.py (+1/-1) scripts/ibid-plugin (+1/-2) |
To merge this branch: | bzr merge lp:~stefanor/ibid/stripper-501336 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Hitchcock | Approve | ||
Michael Gorven | Approve | ||
Review via email: mp+16646@code.launchpad.net |
To post a comment you must log in.
> + pattern = re.compile( r'^\s*( .*?)[?! .\s]*$' , re.DOTALL)
That will prevent bypassing of the stripper (for example, deleting a factoid ?)\s*[? !.]*\s* $
called "foo!" by saying "forget foo! !"). I'd prefer ^\s*(.*
review needs_fixing