in reply to Re: whitespaces replace with tabs - help needed...
in thread whitespaces replace with tabs - help needed...
That only matches a space. The term 'whitespace' is much broader than a space--it includes things like newlines, tabs, etc. You want to match using \s, which matches any whitespace character.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: whitespaces replace with tabs - help needed...
by Theo (Priest) on Aug 14, 2003 at 14:42 UTC | |
|
Re: Re: Re: whitespaces replace with tabs - help needed...
by monktim (Friar) on Aug 14, 2003 at 14:09 UTC | |
by hardburn (Abbot) on Aug 14, 2003 at 14:47 UTC |