Closed dariavladykina closed 1 year ago
@dmpop this issue boils down to the folloing rules:
'
or "
string is found wrapping a word or sentence, suggest using <quote/>
,
or .
after a closing '
or "
, or </quote>
, suggest inserting it into <quote/>
:
or ;
or-
is inside <quote/>
, suggest moving it outside of <quote/>
,
Easy, right ? BTW I played with vale styles and how exactly do you match multiline regexps? For example, while the following rule matches simple series in one line:
'[^,]+\s(?:\w+,\s){2}(?:and|or)'
i could not find a way to make the mult-line modifier (?m)
work. Therefore, the following series is not matched:
"Peter, Paul,
and Joan"
Hi Dima,
Please update the rule for the use of commas and punctuation in quotations marks per the newly released style guide. Please see here and here.
Thanks!