autocorrect 2.14.2

A linter and formatter for help you improve copywriting, to correct spaces, words, punctuations between CJK (Chinese, Japanese, Korean).
Documentation
1
2
3
4
5
6
7
8
9
10
11
item  = _{ SOI ~ line* ~ EOI }
line  = _{ other }
other = ${ !(COMMENT) ~ ANY }

/// Whitespace
WHITESPACE = { " " | "\t" | NEWLINE }

/// Comment
line_comment  = _{ "#" ~ (!(NEWLINE) ~ ANY)* }
block_comment = _{ "/*" ~ (!("*/") ~ ANY)* ~ "*/" }
COMMENT       = ${ line_comment | block_comment }