I am trying to test for an expression but not to select it.
I need that for selecing custom TODOs in the IDE Pycharm.
I want to select comments that have the word to-cleanup
in them.
When I do the following: # \b.*to-cleanup\b.*
it also selects the #
. I'm pretty sure there must be a way to test for the existence of #
but not to select it.
I just read the documentation for regex that Pycharm Help has, so I don't know how to do it. Any help would be greatly appreciated!
I checked here, but couldn't understand how to fit it into what I need.