-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance SpaceBetweenAlphabeticalWordValidator #740
Enhance SpaceBetweenAlphabeticalWordValidator #740
Conversation
Very sorry for the late response.. and thank you very much for the valuable changes @midnightSuyama! |
@@ -40,7 +40,9 @@ | |||
private final Pattern pat = Pattern.compile(shard + "\\s+(" + word + ")\\s+" + shard); | |||
|
|||
public SpaceBetweenAlphabeticalWordValidator() { | |||
super("forbidden", false); // Spaces are enforced (false) or forbidden (true) | |||
super("forbidden", false, // Spaces are enforced (false) or forbidden (true) | |||
"skip_before_chars", "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to shorten the configuration names. If you are ok, could you please rename skip_before_chars
into skip_before
and skip_after_chars
to skip_after
?
@takahi-i All right, renamed. Thanks :) |
LGTM |
Thanks a lot @midnightSuyama! Merged. |
Ref issue for this feature: redpen-cc/redpen-doc#66 |
Added the usage: redpen-cc/redpen-doc#68 |
Add skip character of SpaceBetweenAlphabeticalWordValidator.
New properties
Examples
Document file
Configuration file