factoid ~= s/foo/bar/i is case-sensitive

Bug #709175 reported by Max Rabkin
6
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")

Tags: case factoid

Related branches

Max Rabkin (max-rabkin)
summary: - factoid ~= s/foo/bar/ir is case-sensitive
+ factoid ~= s/foo/bar/i is case-sensitive
Revision history for this message
marcog (marco-gallotta) wrote :

Is this a trunk bug? A factoid-544493 bug? Or both?

Revision history for this message
Max Rabkin (max-rabkin) wrote : Re: [Bug 709175] Re: factoid ~= s/foo/bar/i is case-sensitive

> Is this a trunk bug? A factoid-544493 bug? Or both?

It's in trunk. I haven't tested factoid-544493 but it doesn't look
like that touches the relevant code.

Changed in ibid:
importance: Undecided → Low
status: New → Confirmed
Max Rabkin (max-rabkin)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.