私は
$ : Matches the end of the line
\s: Matches whitespace
\S: Matches any non-whitespace character
、ということを発見したが、$ \ は正確に何をするのでしょうか?それは文字の正規表現に割り当てられた表現フラグに基づいてコンテンツで利用可能な「$」を見つけるのに役立ちます$ \ $
文字通り
私は
$ : Matches the end of the line
\s: Matches whitespace
\S: Matches any non-whitespace character
、ということを発見したが、$ \ は正確に何をするのでしょうか?それは文字の正規表現に割り当てられた表現フラグに基づいてコンテンツで利用可能な「$」を見つけるのに役立ちます$ \ $
文字通り
にマッチしますので、$ \