diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-07-19 00:26:20 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-07-19 00:31:27 +0200 |
commit | 798b95785a990f817bf2543a63ea470e18ea9a60 (patch) | |
tree | 3a518b8bfad33271a7019b7dd47899610f45480c | |
parent | 211b93650ba6f1922e87b6283ba863fa99d4fc4f (diff) |
Remove outdated source file
-rw-r--r-- | libimagentrytag/src/lib.rs | 1 | ||||
-rw-r--r-- | libimagentrytag/src/util.rs | 24 |
2 files changed, 0 insertions, 25 deletions
diff --git a/libimagentrytag/src/lib.rs b/libimagentrytag/src/lib.rs index 6cac9690..bfc4d461 100644 --- a/libimagentrytag/src/lib.rs +++ b/libimagentrytag/src/lib.rs @@ -48,6 +48,5 @@ pub mod exec; pub mod result; pub mod tag; pub mod tagable; -pub mod util; pub mod ui; diff --git a/libimagentrytag/src/util.rs b/libimagentrytag/src/util.rs deleted file mode 100644 index d0d31db2..00000000 --- a/libimagentrytag/src/util.rs +++ /dev/null @@ -1,24 +0,0 @@ -// -// imag - the personal information management suite for the commandline -// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; version -// 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -// - -use regex::Regex; - -pub fn is_tag(s: &str) -> bool { - Regex::new("^[a-zA-Z]([a-zA-Z0-9_-]*)$").unwrap().captures(s).is_some() -} |