IMHO even if regexes are powerful enough using them for representing lists or literals is an overkill (precisely by the reason you gave, having to control and escape all characters would make adl code more less readable (think that a series of specialized atx.x.x codes would always need to be escaped). I don't see the problem of having just a list of strings and a regex for C_String. (I DO think that having a list of regexes is an overkill BTW)
2016-04-07 11:07 GMT+02:00 Thomas Beale <[email protected]>: > > This is a question we have wrestled with in defining the AOM String > constrainer type C_STRING. Bert has brought it up with some useful analysis > in this issue. I would be interested in other opinions on this question so > that we can decide the best form for the C_STRING constraint. > > - thomas > > _______________________________________________ > openEHR-technical mailing list > [email protected] > http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org _______________________________________________ openEHR-technical mailing list [email protected] http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

