=?Windows-1252?Q?DR_09-0061_=97_Shared_MLs, _Shared_Simple_Types:_Constrai?= n ST_Panose value set
Chris.Rae at microsoft.com
Tue Oct 26 00:36:59 CEST 2010
This is a very simple one indeed. We talked about this at some length at Tokyo - I was under the impression that certain valid Panose values were not accepted by Suzuki-san's RegEx. This, it turns out, was a mistake - I was truncating unused zeros from the front of the strings and in actual fact this is not done (in Office, or in the Panose specification itself). Panose consists of ten byte couplets denoted in hex where leading zeros are always included, even on the first byte.
I used http://www.regexplanet.com/simple/index.html to validate Suzuki-san's sample against some Word documents and it looks like this RegEx does indeed work fine (some sample values: 020F0502020204030204, 02010600030101010101, 020B0604020202020204, 02020603050405020304, 02040503050406030204).
I think we can accept the original solution as proposed by the submitter in the DR. Let's discuss on the next call.
More information about the sc34wg4