Hello, @christian-schmitt,
Just try this regex, below. It should bookmark all the lines that you want to !
(?-is)^2019.*"(INSERT|UPDATE|DELETE)".*|^\h+.+
How this regex works :
First, the in-line modifiers (?-is) assure that :
The regex engine will consider any dot as a single standard character, only ( -s part )
The search is performed in an non-insensitive to case way ( -i part )
Then, the regex is composed of two alternatives, delimited with the | alternation symbol
The part ^2019.*"(INSERT|UPDATE|DELETE)".*, similar to your version, search for 2019, at beginning of line, followed wiht any range, even null, of standard characters, till one of the 3 words INSERT, UPDATE or DELETE, surrounded by double-quotes, and then, followed with the remainder of current line
The part ^\h+.+ searches for any line beginning with either some space or tabulation character(s) ( so horizontal blank chars ) and the non-null remainder of these lines
Note that if you just want to bookmark the lines, ignoring the red highlighting, you just need the shortened version, below :
(?-is)^2019.*"(INSERT|UPDATE|DELETE)"|^\h+
Disable the View > Word wrap option for a better lisibility ;-))
Best Regards,
guy038