the following regex is not working. Is something broken, or am I just retarded?
[ \t]+$
I am trying to remove any whitespace at the end of lines. Using
\s+$
kind of works, except it's also matching blank lines. I don't want to remove blank lines, only blanks at the end of lines.
Using
^[ \t]+
to find spaces and tabs at the beginning of lines works.
Using KE 4.4.
I just installed KE 5 and encounter the same problem.
I verified both behaviors. Could you log this as a bug at:
http://bugs.activestate.com/enter_bug.cgi?product=Komodo
Hmm, I did some experimenting. $ is matching \n only, not "end of line". The following expression actually works:
[ \t]+\r$Is this really a bug, or "working as designed?"