question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option + shortcut like private mode to toggle between regex and non-regex search

See original GitHub issue

Describe the bug

Searching for ( or ) (along with strings pre or suffixed to the character) will not appear in a clipboard.

For programmers this is irksome as searching for a function like function( when the text def function(stuff) is in the clipboard results in nothing.

How To Reproduce

Have an item in the clipboard with either ( or ) and search.

Versions

org.gnome.shell.extensions.clipboard-history GNOME Shell 42.0 GCH Version: 15 org.gnome.shell.extensions.clipboard-history cache-only-favorites false org.gnome.shell.extensions.clipboard-history cache-size 100 org.gnome.shell.extensions.clipboard-history clear-history @as [] org.gnome.shell.extensions.clipboard-history confirm-clear true org.gnome.shell.extensions.clipboard-history disable-down-arrow true org.gnome.shell.extensions.clipboard-history display-mode 0 org.gnome.shell.extensions.clipboard-history enable-keybindings true org.gnome.shell.extensions.clipboard-history history-size 1000 org.gnome.shell.extensions.clipboard-history move-item-first true org.gnome.shell.extensions.clipboard-history next-entry @as [] org.gnome.shell.extensions.clipboard-history notify-on-copy false org.gnome.shell.extensions.clipboard-history paste-on-selection false org.gnome.shell.extensions.clipboard-history prev-entry @as [] org.gnome.shell.extensions.clipboard-history private-mode false org.gnome.shell.extensions.clipboard-history process-primary-selection false org.gnome.shell.extensions.clipboard-history strip-text true org.gnome.shell.extensions.clipboard-history toggle-menu [‘Insert’] org.gnome.shell.extensions.clipboard-history toggle-private-mode [‘<Super><Shift>P’] org.gnome.shell.extensions.clipboard-history topbar-preview-size 10 org.gnome.shell.extensions.clipboard-history window-width-percentage 25

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
SUPERCILEXcommented, May 10, 2022

Sounds like a plan to me!

0reactions
SUPERCILEXcommented, Aug 13, 2022

I don’t have enough time, so I went with a dumb solution: just search both the raw query and its regex equivalent. This will over-return search results, but you should almost always be able to refine your search using regex (unless you’re searching for regex in which case things get weird).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Perform a non-regex search/replace in vim
For the :s command there is a shortcut to disable or force magic. To turn off magic use :sno like: :sno/search_string/replace_string/g.
Read more >
How To Start Using Regex With The Shortcuts App
This is a character that you can place between two words/characters to say, “Match this or this.” For instance, if I want to...
Read more >
Regex Cheat Sheet | ShortcutFoo
Regex cheat sheet of all shortcuts and commands. ... Match a single white space character (space, tab, form feed, or line feed).
Read more >
Searching - Notepad++ User Manual
It can be invoked directly with Search > Find in Files or the keyboard shortcut Ctrl+Shift+F . Find in Projects tab: Similar to...
Read more >
Options for regular expression
Learn how to use regular expression options in .NET, such as case-insensitive matching, multiline mode, and right-to-left mode.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found