bagaimana cara mengubah regex corong untuk menguji url? Setelah terjemahan tambahan dari situs wordpress, url bahasa Inggris woocommerce telah berubah.
https://regex101.com/r/HybY5q/2
.*/produkt/.*/
ID: http://www.example.com/en/product/1234 DE : http://www.example.com/produkt/1234
.*/warenkorb/
EN: http://www.example.com/en/cart DE: http://www.example.com/warenkorb
.*/kasse/
ID: http://www.example.com/en/checkout-2/ DE: http://www.example.com/kasse
Karena saya tidak ingin mengubah URL Wordpress/WooCommerce, bagaimana cara menyesuaikan ekspresi reguler? Saya pikir ini adalah operator "ATAU".
Terima kasih.