From 4342881187419e76328befd44408d346e2b20ca3 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Sat, 30 Dec 2023 10:54:43 +0800 Subject: [PATCH] WIP6 --- src/FileConventions/Library.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileConventions/Library.fs b/src/FileConventions/Library.fs index f703941c..fb4930d6 100644 --- a/src/FileConventions/Library.fs +++ b/src/FileConventions/Library.fs @@ -155,7 +155,7 @@ let SplitIntoWords(text: string) = let words = Regex.Split(text, codeBlockRegex) - |> Seq.filter(fun item -> not(String.IsNullOrEmpty item)) + |> Seq.filter(String.IsNullOrEmpty >> not) |> Seq.map(fun item -> if Regex.IsMatch(item, codeBlockRegex) then {