okbob / pspg

Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
BSD 2-Clause "Simplified" License
2.43k stars 85 forks source link

Question: How does "Upper case sentitive search work"? #205

Closed slackwhere closed 2 years ago

slackwhere commented 2 years ago

Case sensitive and case insensitive work as I would expect. When I use "Upper case sensitive search" no matches are ever found if the search string contains any upper case characters. There must be something I don't understand about how this search method works.

okbob commented 2 years ago

so 30. 7. 2022 v 16:02 odesílatel slackwhere @.***> napsal:

Case sensitive and case insensitive work as I would expect. When I use "Upper case sensitive search" no matches are ever found if the search string contains any upper case characters. There must be something I don't understand about how this search method works.

/*

  • Special string searching, lower chars are case insensitive,
  • upper chars are case sensitive. */

so if you are searching string Hello, then you can find the strings Hello or HELLO, but you cannot to find string hello

But when I tested it now, it doesn't work, so maybe there is some bug

Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO46AU6LH3NXLHR5EGSLVWUYYJANCNFSM55DIYPXA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

okbob commented 2 years ago

There was a bug. It should be fixed by commit ab0950b99597d615edba0c19d612975c8e27649c . Please, check.

slackwhere commented 2 years ago

I can confirm it is now working.

Thank you!!

okbob commented 2 years ago

ne 31. 7. 2022 v 15:52 odesílatel slackwhere @.***> napsal:

I can confirm it is now working.

Thank you!!

:-)

Thank you for bug report

Pavel

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/205#issuecomment-1200429704, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO44DGR77URZINQ7TD33VW2AK7ANCNFSM55DIYPXA . You are receiving this because you commented.Message ID: @.***>