aboutsummaryrefslogtreecommitdiff
path: root/src/ident.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-21 20:54:48 +0200
committerTill Hoeppner2015-04-21 20:54:48 +0200
commit9bb27a5fd0ef62874762df6d0eb180de6f351a24 (patch)
tree64da5e514889d5de586270898dac39883cb14a95 /src/ident.rs
parentc67d6c211918f8b787b862bb580c41224a8d50c7 (diff)
downloadirsc-9bb27a5fd0ef62874762df6d0eb180de6f351a24.tar.gz
irsc-9bb27a5fd0ef62874762df6d0eb180de6f351a24.tar.xz
irsc-9bb27a5fd0ef62874762df6d0eb180de6f351a24.zip
Ditch convenience api, switch to byte-indexing
Diffstat (limited to 'src/ident.rs')
-rw-r--r--src/ident.rs2
1 files changed, 1 insertions, 1 deletions
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 {