04-18-2017, 08:07 PM
(This post was last modified: 04-18-2017, 08:10 PM by royce.
Edit Reason: e[char]
)
You can chain a couple of rules together:
s- E s -
That's
- replace all dashes with spaces
- title case
- replace all spaces with dashes again
It would be cool if E could take an argument of what character to treat as the separator. Might be tricky to implement a rule that both does and does not accept arguments, though. Using "e[char]" like JtR did could be a useful add.
s- E s -
That's
- replace all dashes with spaces
- title case
- replace all spaces with dashes again
It would be cool if E could take an argument of what character to treat as the separator. Might be tricky to implement a rule that both does and does not accept arguments, though. Using "e[char]" like JtR did could be a useful add.
~