summaryrefslogtreecommitdiff
path: root/src/core/common/Utils.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-13 01:30:57 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:24:17 +0200
commit87dfa67b5ac95e1f41cb2be3507cc47da26caef0 (patch)
tree19f4ec85e46a6741a48cc69c32e4622bb631b86c /src/core/common/Utils.hpp
parent57b738e0008ca7ba0a6cf17d746a3ea2e389d20b (diff)
Adapt isNamespacededIdentifier to most recent identifier format
Diffstat (limited to 'src/core/common/Utils.hpp')
-rw-r--r--src/core/common/Utils.hpp3
1 files changed, 2 insertions, 1 deletions
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.