Secret
Secret
As you say, I'm just using py2.7 now, I have a little data set, but it's internal so I'm sorry that I cat't provide it to you. I tried to...
> cc @betterlch I just know that 0.2.0 works in python3.7~ ------------------------------------------------- Here are other work about python3.10: I linked libhs.so as _hyperscn.so, and I get this ``` ImportError: dynamic...
> just added a new environment variable to enable dynamic linking when building, `PYTHON_HYPERSCAN_STATIC` (defaults to true). try pulling latest and building with: > > `PYTHON_HYPERSCAN_STATIC=false poetry install` Something maybe...
1. download and make install hypercan 5.4.0 with doc guide 2. use `cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..` remake `hyperscan/build/chimera` --> `hyperscan/build/lib/libchimera.a` 3. add `/opt/pcre/` and build pcre-8.4.5 to gen `/opt/pcre/.libs` for build...
Because `len(text.encode())` is 6 `text.encode() == b'test\xc2\xae'`
> Thank you for the reply! I understand that that's the reason, but is there any workaround? > > Or is this a limitation of hyperscan? In the sense that...
``` sc = hyperscan.Scratch(db2) db2.scan(b'foo bar baz', callback, scratch=sc) ```
The same, and the last error log is below ``` Traceback (most recent call last): File "/data/python_env/web/lib64/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/data/python_env/web/lib64/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection...