I am trying to match any spaces or blank lines in this test file using AltSearch . For some reason, I cannot match the space between bar bar and line 4.
Here is a test file. To send it to Stack Overflow, I changed the spaces to periods and tabs in TAB. (When you change it for personal testing, note that TABTABTAB is below line 3, it is easy to overlook it).
line1 line2 ..............TAB line3 TABTABTAB foo foo bar bar line4 TAB.............. line5 ................. line6
And here are 2 versions of my regex. Both work the same for me.
\p*^\s*\t*\p+ \p*^(\s||\t)*\p+
I know the script package inside AltSearch will be a simpler way (and I already have a working batch). My interest is not to use the package.
Also does not work. I donβt understand, maybe this AltSearch is just buggy, damn it?
(\p*^\s*\p+)||(\p*^\p*)
source share