Generated code issue fix for enum with space

Change-Id: I509d3df564a08559e9f396b0f7e787544ddc161f
diff --git a/compiler/base/utils/src/main/java/org/onosproject/yang/compiler/utils/UtilConstants.java b/compiler/base/utils/src/main/java/org/onosproject/yang/compiler/utils/UtilConstants.java
index f2095e7..81844ba 100644
--- a/compiler/base/utils/src/main/java/org/onosproject/yang/compiler/utils/UtilConstants.java
+++ b/compiler/base/utils/src/main/java/org/onosproject/yang/compiler/utils/UtilConstants.java
@@ -1147,7 +1147,7 @@
     /**
      * Static attribute for regex for all the special characters.
      */
-    public static final String REGEX_WITH_ALL_SPECIAL_CHAR = "\\p{Punct}+";
+    public static final String REGEX_WITH_ALL_SPECIAL_CHAR = "[\\p{Punct}\\s]+";
 
     /**
      * Static attribute for regex for three special characters used in
diff --git a/compiler/plugin/maven/src/test/resources/EnumTranslator.yang b/compiler/plugin/maven/src/test/resources/EnumTranslator.yang
index 1957c1f..d52475a 100644
--- a/compiler/plugin/maven/src/test/resources/EnumTranslator.yang
+++ b/compiler/plugin/maven/src/test/resources/EnumTranslator.yang
@@ -9,6 +9,7 @@
       type enumeration {
          enum zero;
          enum one;
+         enum "twenty three";
          enum seven {
               value 7;
              }