From 081214d3b133b8e825e83ab7fd9d77fd131c15fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Gr=C3=A4ff?= Date: Sun, 29 Apr 2018 14:32:39 +0200 Subject: [PATCH] Remove regex requirement (#88) * A good regex parser is not lightweight and most likely needs lots of heap memory for the state machine and backreferences and whatnot. Do not make it mandatory to support it. * Be more precise when the property format attribute is required --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 1461e72..4e7dead 100644 --- a/README.md +++ b/README.md @@ -496,10 +496,6 @@ A property attribute MUST be one of these: Escape , by using ,,. e.g. A,B,C or ON,OFF,PAUSE.
Valid for datatypes enum -
  • - regex:pattern to provide a regex that can be used to match the value. e.g. regex:[A-Z][0-9]+. -
    Valid for datatype string -
  • rgb to provide colors in RGB format e.g. 255,255,0 for yellow. hsv to provide colors in HSV format e.g. 60,100,100 for yellow. @@ -508,7 +504,7 @@ A property attribute MUST be one of these: Yes - Depends on $datatype + No for $datatype string,integer,float,boolean. Yes for enum,color