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