diff --git a/sw/lib/ocaml/pprz.ml b/sw/lib/ocaml/pprz.ml index 4ec72a256b..98104641ee 100644 --- a/sw/lib/ocaml/pprz.ml +++ b/sw/lib/ocaml/pprz.ml @@ -242,7 +242,7 @@ let alt_unit_coef_of_xml = fun ?auto xml -> coef let key_modifiers_of_string = fun key -> - let key_split = Str.split (Str.regexp "[A-Za-z]+\\+") key in + let key_split = Str.split (Str.regexp "\\+") key in let keys = List.map (fun k -> match k with | "Ctrl" -> ""