factoid ~= s/foo/bar/i is case-sensitive
Bug #709175 reported by
Max Rabkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Committed
|
Low
|
Max Rabkin |
Bug Description
(First bug discovered by testing-framework?)
Query: foo
Response: foo is bar
Query: foo ~= s/BAR/foo/i
Response: I couldn't find 'BAR' in 'is bar'. If that was a proper regular expression, append the 'r' flag
Query: foo
Response: foo is bar
Documentation suggests the /i makes it case-insensitive (and it does for "ir")
Related branches
lp:~max-rabkin/ibid/factoid-ci-replace-709175
- Jonathan Hitchcock: Approve
- Stefano Rivera: Approve
-
Diff: 48 lines (+21/-17)1 file modifiedibid/plugins/factoid.py (+21/-17)
lp:~max-rabkin/ibid/factoid-ci-replace-709175-0.1
- Jonathan Hitchcock: Approve
- Stefano Rivera: Approve
-
Diff: 48 lines (+21/-17)1 file modifiedibid/plugins/factoid.py (+21/-17)
summary: |
- factoid ~= s/foo/bar/ir is case-sensitive + factoid ~= s/foo/bar/i is case-sensitive |
Changed in ibid: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in ibid: | |
assignee: | nobody → Max Rabkin (max-rabkin) |
status: | Confirmed → In Progress |
Changed in ibid: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Is this a trunk bug? A factoid-544493 bug? Or both?