Skip to content

Commit dfaa3ca

Browse files
committed
docs(README): fix
1 parent c715f00 commit dfaa3ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ textlint --rule ja-unnatural-alphabet README.md
8787
}
8888
```
8989

90-
同様に[RegExp-like String](https://github.com/textlint/regexp-string-matcher#regexp-like-string)を使うことで、`allow`オプションに正規表現での指定が可能です。
90+
同様に[RegExp-like String](https://github.com/textlint/regexp-string-matcher#regexp-like-string)を使うことで、`allow`オプションに正規表現のような指定が可能です。
91+
92+
:warning: [RegExp-like String](https://github.com/textlint/regexp-string-matcher#regexp-like-string)は文字列で正規表現リテラルを書くため、`\d`のような特殊文字は`"\\d"`とエスケープする必要があります。
93+
9194
次の設定は`アンドロイド{アルファベット}`は問題ないとしてエラーにしません。
9295

9396
```json5

0 commit comments

Comments
 (0)