johngodley / search-regex

Search Regex adds a powerful set of search and replace functions to WordPress that go beyond the standard searching capabilities, with full regex support.
https://searchregex.com
GNU General Public License v3.0
32 stars 9 forks source link

Unable to perform case-sensitive regex search. #159

Closed alt160 closed 2 months ago

alt160 commented 1 year ago

When using the regex search option, i need to perform a case-sensitive regex search.

i've tried patterns that are supposed to make case-sensitive searches, but it doesn't seem to work.

for example, this finds matches of all character casings: (?-i:lowercase) Results for above will find: LowerCase and lowerCase.

i've also tried "(?-i)lowercase" as well and that doesn't seem to work either.

alt160 commented 1 year ago

apologies. the search is working. however the output was misleading as it is showing examples of the replaced values and not how it actually looked in the database.

suggest adding a comment or text label at above the list of search results to notify that highlighted values are examples of what the replaced value would look like.