fixed regexp for eow_category