From 9bb27a5fd0ef62874762df6d0eb180de6f351a24 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Tue, 21 Apr 2015 20:54:48 +0200 Subject: Ditch convenience api, switch to byte-indexing --- src/ident.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ident.rs') diff --git a/src/ident.rs b/src/ident.rs index 0008d53..6dd7de8 100644 --- a/src/ident.rs +++ b/src/ident.rs @@ -1,7 +1,7 @@ use regex::Regex; use std::borrow::ToOwned; -static PATTERN: Regex = regex!(":(.*)!(.*)@(.*)"); +static PATTERN: Regex = regex!("(.*)!(.*)@(.*)"); #[derive(Debug, Clone)] pub struct Ident { -- cgit v1.2.3