Updated requirements
Updated requirements
Use stdin/stdout instead of files
Get read of extra space while joining lines in paragraph
Changed limit to 79, instead of 80 chars
Changed regex: added splitting line before words shorter than 3 chars
Splitted regex -- is more readable.
Get rid off recurssion.
Removed unused var, added docstring
regex doesn't support non-fixed length of lookahead and lookbefore patterns. restored old-kind of looking for short words
Changed printing method
Small change, according to pylint
Add newline at end of file, if text doesn't end with it
Skip all tests. I need to update methods. It's too late tonight
Don't add a newline at the end twice, don't join words that are separated with a newline.