From 87dfa67b5ac95e1f41cb2be3507cc47da26caef0 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 13 Apr 2015 01:30:57 +0200 Subject: Adapt isNamespacededIdentifier to most recent identifier format --- src/core/common/Utils.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/common/Utils.hpp') diff --git a/src/core/common/Utils.hpp b/src/core/common/Utils.hpp index c3b49a0..16bc5a1 100644 --- a/src/core/common/Utils.hpp +++ b/src/core/common/Utils.hpp @@ -101,7 +101,8 @@ public: /** * Returns true if the given string is in * \code{.txt} - * ([A-Za-z][A-Za-z0-9_-]*)(:[A-Za-z][A-Za-z0-9_-]*)* + * ([A-Za-z]([A-Za-z0-9_-][A-Za-z0-9])?) + * (:[A-Za-z]([A-Za-z0-9_-][A-Za-z0-9])?)* * \endCode * * @param name is the string that should be tested. -- cgit v1.2.3