FEATURE patterns evaluation support

Includes yangre(1) tool and support for parsing and validating string value
including evaluation of their restrictions.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d7aabf..c3d9160 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -231,8 +231,8 @@
     tools/lint/configuration.c
     tools/lint/linenoise/linenoise.c)
 
-#set(resrc
-#    tools/re/main.c)
+set(resrc
+    tools/re/main.c)
 
 set(headers
     src/libyang.h
@@ -386,11 +386,11 @@
 install(FILES ${PROJECT_SOURCE_DIR}/tools/lint/yanglint.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
 target_include_directories(yanglint BEFORE PRIVATE ${PROJECT_BINARY_DIR}/tools)
 
-#yangre
-#add_executable(yangre ${resrc})
-#target_link_libraries(yangre yang)
-#install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR})
-#target_include_directories(yangre BEFORE PRIVATE ${PROJECT_BINARY_DIR}/tools)
+# yangre
+add_executable(yangre ${resrc})
+target_link_libraries(yangre yang)
+install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR})
+target_include_directories(yangre BEFORE PRIVATE ${PROJECT_BINARY_DIR}/tools)
 
 if(ENABLE_VALGRIND_TESTS)
     set(ENABLE_BUILD_TESTS ON)