rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=0087912627bb692d73591f53c3a321dc931a6170

commit 0087912627bb692d73591f53c3a321dc931a6170
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Wed Mar 16 15:50:37 2016 +0200

    string_common: fix font regex
    
    Fixes T3249
---
 src/bin/common/string_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/common/string_common.h b/src/bin/common/string_common.h
index cf36f70..882867f 100644
--- a/src/bin/common/string_common.h
+++ b/src/bin/common/string_common.h
@@ -35,7 +35,7 @@
 #define NAME_REGEX "^[a-zA-Z0-9_]+$"
 #define STATE_VALUE_REGEX "^((0?(\\.[0-9]+)?|1(\\.0+)?))?$"
 #define PART_NAME_REGEX "^[a-zA-Z0-9_\\.]+$"
-#define FONT_STYLE_REGEX "^(\\w| 
)+(:(style|slant|weight|width|spacing|lang)=\\w+)?$"
+#define FONT_STYLE_REGEX "^((\\w|[- 
])+(:(style|slant|weight|width|spacing|lang)=\\w+)?)?$"
 #define IMAGE_BORDER_REGEX "^([0-9]+( [0-9]+){3}){0,1}?$"
 #define FREQUENCY_REGEX "^\\b([2-9][0-9]|[1-9][0-9]{2,3}|1[0-9]{4}|20000)\\b$"
 

-- 


Reply via email to