summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/token.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/util/token.hpp b/include/mbgl/util/token.hpp
index a794e0489c..786654133a 100644
--- a/include/mbgl/util/token.hpp
+++ b/include/mbgl/util/token.hpp
@@ -15,7 +15,7 @@ namespace mbgl {
namespace util {
namespace detail {
-const regex_impl::regex tokenRegex("\\{(\\w+)\\}");
+const regex_impl::regex tokenRegex("\\{([\\w-]+)\\}");
const regex_impl::sregex_token_iterator tokensEnd = regex_impl::sregex_token_iterator();
}