Re: Regex to find blank lines and lines with only spaces

2017-01-12 Thread Mike Pullen
^\s*$ does not work for me in BBEdit. BBEdit does not find the empty lines that proceeds the line containing "four" or the line containing "six" in my test file. This perl one-liner works: perl -pe 's/^\s*$//' test.txt. I think the same regex should work in BBEdit but doesn't on my system. I

Regex to find blank lines and lines with only spaces

2017-01-09 Thread Mike Pullen
1. This regular expression works in BBEdit to find all blank lines and all lines containing only whitespace: ^\n|^\s+\n 2. However, this regular expression does not find all of those same lines: ^\s+$ I've attached the file (test.txt) that I am using to test both regex's. I would like

Edit Markup

2011-08-08 Thread Mike Pullen
Just downloaded BBEdit 10 from the mac app store. Running 10.7 Lion. When editing a html document and choosing the "edit markup" command from the Markup menu, nothing happens. Same result when I try the key sequence, the Markup menu flashes but nothing happens. Any explanation? -- You receive