(1) > вопрос - ПОЧЕМУ?
/анкет(|а|ы)/
1st Capturing Group (|а|ы)
1st Alternative — null, matches any position
2nd Alternative а
а matches the character а literally (case sensitive)
3rd Alternative ы
ы matches the character ы literally (case sensitive)
/анкет(а|ы|)/
1st Capturing Group (а|ы|)
1st Alternative а
а matches the character а literally (case sensitive)
2nd Alternative ы
ы matches the character ы literally (case sensitive)
3rd Alternative — null, matches any position
Во втором случае под "matches any position" у тебя попадает конец строки. В первом случае буква "т" из в "matches any position" не попадает, так как ее захватывает точное требование "анкет"
(5) "Танкета" је гусеничарско борбено возило, које подсећа на мали тенк. Сличне је величине као аутомобил, а предвиђена је за извиђање и подршку јединицама лаке пешадије.
(: