重複の可能性:
preg_match() 不明な修飾子 '[' ヘルプ
私はこのパターンに合わせようとしています
$regex_pattern = '<td id="(\w+)" class="(\w+)">(\w+).com<\/td>';
preg_match_all($regex_pattern, $result, $matches);
print_r($matches);
しかし、私はこのエラーが発生しています: 警告: preg_match_all(): 不明な修飾子 '(' で
正規表現パターンの何が問題になっていますか?