Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let matches = seq { for line in (File.ReadLines(@"L:/foo.txt")) -> r.Matches(line) }
- let extract (matches : seq<MatchCollection>) =
- seq {
- for ms in matches do
- for m in ms -> m.Value.TrimEnd([|'<'|])
- }
- |> Seq.map (fun x -> x, "") |> dict |> Seq.map (fun x -> x.Key)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement