Îõ³h& , T      Safe-Inferred"ã™ ,Utility functions for the html-parse libraryê(c) Neil Mitchell 2006“@2019 (TagSoup), Tony Zorman 2020“@2022 (port to html-parse)BSD-3)Tony Zorman  experimental non-portable Safe-Inferred"ã html-parse-utilLike $, but with a supplied default value.toToken "text"ContentText "text"html-parse-utilConvert ! to ",, with a default in case of a parse failure.html-parse-utilÝThis function takes a list, and returns all suffixes whose first item matches the predicate.sections (== 'c') "abc cba ccb""["c cba ccb","cba ccb","ccb","cb"]html-parse-utilLike Õ, but return the head element. Returns an empty list if no head element is present.section (== 'c') "abc cba ccb" "c cba ccb"html-parse-utilThis function is similar to Ã, but splits the list so no element appears in any two partitions.!partitions (== 'c') "abc cba ccb"["c ","cba ","c","cb"]html-parse-utilGet the first # element from a list of "6s. If no tag could be found, return an empty string.html-parse-utilGet all " s between start and end.html-parse-util÷Drop an HTML header (i.e. the header tags and everything in between), as well as everything before it, from a list of "s.html-parse-utilGet all # entries from a list of "s and extract their content. html-parse-util Test if a " is a $. html-parse-util Test if a " is a %. html-parse-util Test if a " is a #. html-parse-utilExtract the string from within #, otherwise return &. html-parse-utilExtract the string from within #, crashes if not a #.html-parse-utilÕExtract all text content from a list of Tokens (similar to Verbatim found in HaXml).html-parse-util Test if a " is a '.html-parse-util Test if a " is a (.html-parse-util Test if a " is a ).html-parse-util Test if a " is a *.html-parse-utilReturns True if the " is $ and matches the given name.html-parse-utilReturns True if the " is % and matches the given name.html-parse-util'Extract an attribute; crashes if not a $ . Returns  Attr "" "" if no attribute present.ÛWarning: does not distinguish between missing attribute and present attribute with values "".html-parse-util'Extract an attribute; crashes if not a $ . Returns & if no attribute present.html-parse-utilÈPerforms an inexact match, the first item should be the thing to match.%ContentText "test" ~== ContentText ""TrueåTagOpen "div" [Attr "class" "division ", Attr "id" "dd"] ~== TagOpen "div" [Attr "class" "division "]Truehtml-parse-util Negation of .    9 9 +      !"#$%&'()'(*'(+'(,-./'(0'(1'(2'(34,html-parse-util-0.2.2-7B9YIr8V4T4IzKzbXFwFtAText.HTML.Parser.UtilPaths_html_parse_utiltoTokentoTokenDefaultsectionssection partitionstoHeadContentTextbetween dropHeaderallContentText isTagOpen isTagClose isContentTextmaybeContentTextfromContentText innerTextisTagSelfClose isContentChar isComment isDoctype isTagOpenNameisTagCloseName fromAttrib maybeAttrib~==~/=versiongetDataFileName getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDir text-1.2.5.0Data.Text.InternalText)html-parse-0.2.0.2-770OiEktQwzLMyIxXQeJPgText.HTML.ParserToken ContentTextTagOpenTagClosebase GHC.MaybeNothing TagSelfClose ContentCharCommentDoctype