Commit 25925a63 authored by Robert Bossy's avatar Robert Bossy
Browse files

fixed canonical form and URI for BBCH_DD pattern

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -41,10 +41,10 @@
<pattern>
[ @form =^ "BBCH" ]
[ @form == "-"]?
(number:[ @form =~ "[0-9]{2}$" ])
(number:[ @form =~ "\\d{2}$" ])
</pattern>
<actions>
<createAnnotation layer="bbch" features='canonical-form=("BBCH " ^ group:number),uri=("http://ontology.inrae.fr/ppdo/ontology/bbch_globalScale_secondaryStage_BBCH" ^ group:number)'/>
<createAnnotation layer="bbch" features='canonical-form=("BBCH " ^ (group:number =~ "..$")),uri=("http://ontology.inrae.fr/ppdo/ontology/bbch_globalScale_secondaryStage_BBCH" ^ (group:number =~ "..$"))'/>
</actions>
<constantAnnotationFeatures>type=BBCH-DD</constantAnnotationFeatures>
</BBCH_DD>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment