@@ -311,9 +311,9 @@ mod parser {
311311 seq!(
312312 "/",
313313 // TODO parse as ECMAScript and convert to rust regex
314− non_empty(text(&['/'], &['/'])),
314+ text(&['/'], &['/']),
315315 "/",
316− one_or_more(choice!(
316+ zero_or_more(choice!(
317317 format(),
318318 // text doesn't parse $, if format fails we just accept the $ as text
319319 map("$", |_| FormatItem::Text("$".into())),