Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bylabel exact #1459
Before submitting your PR, check that you've:
After submitting your PR:
Sounds good to me…
On Sun, Dec 3, 2017, 11:00 AM rounddelta ***@***.***> wrote: Well, fileByLabel also uses T.isInfixOf. Should I create the exact version for this, too? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1459 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AADBB4ZlHQKRg9db-XnxTQAGFGYwNn5Eks5s8mMogaJpZM4QzP8h> .
@MaxGabriel Please consider the following situation
<html> <form> <label>foo2<input type=text name="bar2"></label> <label>foo <input type=text name="bar" ></label> </form> </html>
The cause is around here:
-- In genericNameFromLabel case mfor of for: -> ...  -> case filter (/= "") $ mlabel >>= (child >=> C.element "input" >=> attribute "name") of  -> failure $ "No label contained: " <> label name:_ -> return name _ -> ...