diff --git a/alib2data/src/regexp/RegExp.h b/alib2data/src/regexp/RegExp.h
index 06d6194a58d6ac413fd8357d7ca338532e18c3de..fc79cb44120904592b7e76679daa3cd6e4a89bdd 100644
--- a/alib2data/src/regexp/RegExp.h
+++ b/alib2data/src/regexp/RegExp.h
@@ -35,6 +35,9 @@ class RegExp : public base::WrapperBase < RegExpBase > {
 
 };
 
+template < class T >
+using SymbolTypeOfRegexp = typename std::decay < decltype (std::declval<T>().getAlphabet()) >::type::value_type;
+
 regexp::RegExp regexpFrom ( const std::string & string );
 
 regexp::RegExp regexpFrom ( const char * string );