I'm trying to match any white-space or blank lines in this test file, using AltSearch extension. For some reason, I can't match space between bar bar and line 4.
Here is test file. To post it to Stack Overflow, I changed spaces to periods and tabs to TABs. (When you will change it back for personal testing, note, there is TABTABTAB below line 3, it's easy to overlook).
line1
line2
..............TAB
line3
TABTABTAB
foo foo
bar bar
line4
TAB..............
line5
.................
line6
And here is 2 versions of my regex. Both works identically for me.
\p*^\s*\t*\p+
\p*^(\s||\t)*\p+
I know, batch script inside AltSearch will be more easy way (and I already have working batch). My interest is about don't using batch.
Also doesn't work. I don't understand, maybe this AltSearch is just buggy as hell?
(\p*^\s*\p+)||(\p*^\p*)