in reply to Re^3: regexp: removing extra whitespace
in thread regexp: removing extra whitespace
There is no \n{3,} in my code.
Unfortunately the second statement above doesn't work. I'm using perl v5.10.1 and it gives the following error when that statement is used./\s(?<![ \n])/ /(?<=\s|^) | (?=\s|$)/ /\n\n\K\n+/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: regexp: removing extra whitespace
by GrandFather (Saint) on Nov 04, 2011 at 21:41 UTC | |
by ikegami (Patriarch) on Nov 05, 2011 at 01:23 UTC | |
by perlmax (Initiate) on Nov 04, 2011 at 23:24 UTC |