Stricter regexp for widget