Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error description in readme.md #19

Open
ynonenull opened this issue Aug 14, 2015 · 0 comments
Open

Error description in readme.md #19

ynonenull opened this issue Aug 14, 2015 · 0 comments

Comments

@ynonenull
Copy link

In the Extended syntax supported section:
https://github.com/code4craft/xsoup/blob/master/README.md

The expression of start with function and regex function are conflicted:
attribute value start with: [@key~=value] yes
attribute value match regex: [@key~=value] yes

According to Jsoup selector syntax:
http://jsoup.org/cookbook/extracting-data/selector-syntax
In the selector overview of Jsoup:
[attr^=value], [attr$=value], [attr_=value]: elements with attributes that start with, end with, or contain the value, e.g. [href_=/path/]

Hence I think the expression of start with in Xsoup should be that:
attribute value start with: [@key^=value]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant