File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 189189
190190シンボル ` + ` は直前の文字が 1 個以上続くパターンにマッチします。
191191例えば ` c.+t ` という正規表現は小文字の ` c ` の後に
192- 任意の 1 文字が続き 、さらに ` t ` が続くことを意味します。
192+ 任意の 1 文字以上が続き 、さらに ` t ` が続くことを意味します。
193193
194194<pre >
195195"c.+t" => The fat <a href =" #learn-regex " ><strong >cat sat on the mat</strong ></a >.
342342
343343正規表現ではよく使われる文字集合に対して短縮表記が提供されており、
344344便利なショートカットとして使用できます。
345- 省略表記には次のようなものがあります 。
345+ 短縮表記には次のようなものがあります 。
346346
347347| 短縮表記| 説明 |
348348| :------:| -----------------------------------|
441441
442442### 5.1 大文字・小文字を区別しない
443443
444- 修飾子 ` i ` は大文字・小文字を区別しなくないときに使用します 。
444+ 修飾子 ` i ` は大文字・小文字を区別したくないときに使用します 。
445445例えば ` /The/gi ` という正規表現は大文字の ` T ` の後に小文字の ` h ` , ` e ` が続くという意味ですが、
446446最後の ` i ` で大文字・小文字を区別しない設定にしています。
447447文字列内の全マッチ列を検索したいのでフラグ ` g ` も渡しています。
505505
506506## 貢献する
507507
508- * 課題を発行する
508+ * イシューを発行する
509509* 修正をプルリクエストする
510510* ドキュメントを普及させる
511511* 作者に直接連絡を取る:
[email protected] または
[ ![ Twitter URL
] ( https://img.shields.io/twitter/url/https/twitter.com/ziishaned.svg?style=social&label=Follow%20%40ziishaned )] ( https://twitter.com/ziishaned )
You can’t perform that action at this time.
0 commit comments