正規表現マッチの原則1 (2/2) 29 一番左側から始まっているものをさがすには 文字列の先頭位置でマッチするか調べる マッチした場合 → 終了 しなかった場合 右へ1文字行った位置でマッチするか調べる これをくり返す this string and that string内を「that」でマッチ this string and that string that→× that→× that→× (中略) that→○ マッチ