Skip to content

Commit b093286

Browse files
authoredMar 8, 2021
fix(2.2.2): 数2倍などに反応しないよう修正 (#84)
related #82
1 parent 4654977 commit b093286

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/2.2.2.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ function reporter(context) {
192192
matchToReplace(text, /[^\d](1)(?!)/g, toKanNumber);
193193
matchToReplace(text, /(1)/g, toKanNumber);
194194
matchToReplace(text, /(1)/g, toKanNumber);
195-
matchToReplace(text, /([0-9]+)/g, toKanNumber);
196-
matchToReplace(text, /([0-9]+)[]/g, toKanNumber);
197-
matchToReplace(text, /([0-9]+)/g, toKanNumber);
195+
matchToReplace(text, /(10+)/g, toKanNumber);
196+
matchToReplace(text, /(10+)[]/g, toKanNumber);
197+
matchToReplace(text, /(10+)/g, toKanNumber);
198198
matchToReplace(text, /([0-9]+)/g, toKanNumber);
199199
matchToReplace(text, /(5)/g, toKanNumber);
200200
}

0 commit comments

Comments
 (0)
Please sign in to comment.