diff options
author | Till Hoeppner | 2015-04-21 20:54:48 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-04-21 20:54:48 +0200 |
commit | 9bb27a5fd0ef62874762df6d0eb180de6f351a24 (patch) | |
tree | 64da5e514889d5de586270898dac39883cb14a95 /src/ident.rs | |
parent | c67d6c211918f8b787b862bb580c41224a8d50c7 (diff) | |
download | irsc-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.rs | 2 |
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 { |