MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 81e59da6 authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

fix parsing of metadata

parent 96f5a4d0
......@@ -1158,10 +1158,9 @@ module Conllx = struct
(* ---------------------------------------------------------------------------------------------------- *)
let parse_meta (_,t) =
match Str.bounded_split (Str.regexp "# *\\| *= *") t 2 with
| [""; _] -> ("", t)
| [key;value] -> (key,value)
| _ -> ("", t)
if Str.string_match (Str.regexp "# \\([^= ]*\\) = \\(.*\\)") t 0
then (Str.matched_group 1 t, Str.matched_group 2 t)
else ("", t)
(* ---------------------------------------------------------------------------------------------------- *)
let check_edge ?file ?sent_id nodes edge =
......
Markdown is supported
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