Nbparts.Util.Text
lineColToIndex :: [Text] -> Int -> Int -> Maybe Int Source #
replaceSlices :: Text -> [((Int, Int), Text)] -> Maybe Text Source #
splitKeepNewlines :: Text -> [Text] Source #
findSliceBetween :: Int -> Int -> Text -> Text -> Maybe (Int, Int) Source #
findSliceFrom :: Int -> Text -> Text -> Maybe (Int, Int) Source #
findSlice :: Text -> Text -> Maybe (Int, Int) Source #
findSliceStart :: Text -> Text -> Maybe Int Source #