Skip to content

Commit

Permalink
fix(2.2.2): 数2倍などに反応しないよう修正 (#84)
Browse files Browse the repository at this point in the history
related #82
  • Loading branch information
SGThr7 committed Mar 8, 2021
1 parent 4654977 commit b093286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/2.2.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ function reporter(context) {
matchToReplace(text, /[^\d](1)種(?!類)/g, toKanNumber);
matchToReplace(text, /(1)部の/g, toKanNumber);
matchToReplace(text, /(1)番に/g, toKanNumber);
matchToReplace(text, /数([0-9]+)倍/g, toKanNumber);
matchToReplace(text, /数([0-9]+)[兆億万]/g, toKanNumber);
matchToReplace(text, /数([0-9]+)年/g, toKanNumber);
matchToReplace(text, /数(10+)倍/g, toKanNumber);
matchToReplace(text, /数(10+)[兆億万]/g, toKanNumber);
matchToReplace(text, /数(10+)年/g, toKanNumber);
matchToReplace(text, /([0-9]+)次関数/g, toKanNumber);
matchToReplace(text, /(5)大陸/g, toKanNumber);
}
Expand Down

0 comments on commit b093286

Please sign in to comment.