Skip to content
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

Add Left double quotation mark to Regexp.ja #70

Open
jumon opened this issue Mar 9, 2020 · 1 comment
Open

Add Left double quotation mark to Regexp.ja #70

jumon opened this issue Mar 9, 2020 · 1 comment

Comments

@jumon
Copy link

jumon commented Mar 9, 2020

Motivation

This issue is about Regexp.ja in a wiki.

以下の全角記号は半角記号に置換
/!”#$%&’()*+,−./:;<>?@[¥]^_`{|}

It recommends replacing Right double quotation mark(U+201D) to Quotation mark(U+0022) and not replacing Left double quotation mark(U+201C) to Quotation mark. I prefer both Right and Left double quotation mark to be replaced to Quotation mark in sentences like below.

ダブルクォテーションは日本語では“強調”のために使われる。
→ ダブルクォテーションは日本語では"強調"のために使われる。

Sorry if there is a specific reason why Left double quotation mark is not included in the rule.

Goal

My suggestion might look like this.

以下の全角記号は半角記号に置換
!“”#$%&’()*+,−./:;<>?@[¥]^_`{|}

In addition to adding Left double quotation mark(U+201C), I omitted Slash(U+002F), which is a half-width character, at the head of the line. I guess this is a mistake.

@neologd
Copy link
Owner

neologd commented Aug 20, 2020

Thank you for reporting.
We will report a result after updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants