-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace all non-word characters with wordify
Use the regular expression set \W to replace all non-word characters instead of the fixed set [-.\s:] in wordify. Add a test for subcommands containing slashes in their name as an example. This could be tested more robustly.
- Loading branch information
1 parent
2be59e4
commit c33102b
Showing
2 changed files
with
21 additions
and
2 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