Heath Frankel wrote:
> [openEHR-EHR-COMPOSITION.encounter.v1*] (or perhaps more correctly
> [openEHR-EHR-COMPOSITION.encounter.v1.*], where the dot means any 
> character
> not the version delimiter) and [openEHR-EHR-COMPOSITION.encounter.v\d+] 
> are
> different.  The first allows all revisions of .v1 (e.g. v1.1, v1.2, ..)

Close, but not quite!

[openEHR-EHR-COMPOSITION.encounter.v1.*] allows all revisions of .v1, .v10, 
.v11, ... .v100, .v101, etc.

To allow all revisions of .v1, we would need this:

[openEHR-EHR-COMPOSITION.encounter.v1\..*]

But what about .v1draft? This regex wouldn't catch it. Does this matter? Or 
is that old "draft" convention going to be phased out?

- Peter 



Reply via email to