Open terrywh opened 6 days ago
Change
>> - (+(bp::char_ - ':') > "://")
To
>> - (+(bp::char_ - ':') >> "://")
solved the problem, i guess ">" has a higher priority than "-". closing this for now.
This needs to be called out in the docs so this doesn't happen to more people.
i was trying this nice library out, using the following code try to parse a
url
s with all of the parts optional except thehost
part:if i understand correcly, the
operator -
allows an optional matching; but instead after running i get this error output:parsing a url like 'www.qq.com?a=b' will result the following:
maybe i'm using it wrong ?