Ticket #1543 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Case-insensitive regex search with [^ranges] does not work correctly

Reported by: vda Owned by: slavazanko
Priority: major Milestone: 4.7.0-pre2
Component: mc-search Version: 4.7.0-pre1
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description (last modified by slavazanko) (diff)

In Command->Find File dialog, I search for "dbus::message" in a C++ source tree. It finds unwanted things like "DBus::MessageIter".

Note: in this case, I have Case sensitive off.

So I select [x] Regular expression and search for "dbus::message[^A-Za-z]". It still finds "DBus::MessageIter". Same happens with "DBus::Message[^Ii]".

With checked [x] Case sensitive option and "DBus::Message[^A-Za-z]" regex, it works as it should.

Observed on today's git.

Change History

comment:1 Changed 10 years ago by slavazanko

  • Description modified (diff)

comment:2 Changed 10 years ago by andrew_b

  • Component changed from mc-core to mc-search
  • Milestone changed from 4.7 to 4.7.0-pre2

comment:3 Changed 10 years ago by slavazanko

  • Status changed from new to accepted
  • Owner set to slavazanko
  • severity changed from no branch to on review

created branch 1543_file_content_case_insensitive_regex_search (parent: master)

initial changeset:a9627acb872a642293fde5c4e5ccd3fa663a9da3

Review, please.

comment:4 Changed 10 years ago by angel_il

  • Votes for changeset set to angel_il

comment:5 Changed 10 years ago by andrew_b

  • Votes for changeset changed from angel_il to angel_il andrew_b
  • severity changed from on review to approved

comment:6 Changed 10 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from angel_il andrew_b to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:7 Changed 10 years ago by slavazanko

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.