-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option to preserve the input space characters
This potentially changes the output in two ways: 1. We now match (on line 107) any space character rather than just a tab or a space. The test case as it stands continues to pass, and the output remains separated by a space character. 2. There’s a new boolean parameter called `preserve_space_characters` that changes the output to use the space characters that were passed in. This is more accurate, but an obvious change to the existing behaviour hence the gating behind a default-False parameter.
- Loading branch information
1 parent
fba0551
commit ce95cea
Showing
2 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters