25
25
module Fields = Set.Make(String)
29
29
| c::cs -> if String.contains str c then loop cs else c
30
30
| _ -> Pervasives.raise Not_found
33
33
let string_of_regexp (regexp, _) =
38
38
sprintf "@%c%s%c" escape regexp escape
41
45
List.fold_right Fields.add
42
46
["package"; "source"; "binary"; "provides"; "version"; "architecture"; "build-depends"]