Regex defined for ADL Search does not work with v0.850
Bug #1414362 reported by
LoRenZo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Regex definitions that I was using with 0.843 not seem to work with 0.850.
The System Log displays error messages such as the below:
Invalid regular expression: (?i)(?=.*?.flac.)
I believe this also forces the client to use extremely high memory allocation when opening very large file lists, which I have never experienced before.
To post a comment you must log in.
thanks for the example.
the regex implementation provider was changed between versions 0.843 and 0.850 from boost <http:// www.boost. org/doc/ libs/1_ 57_0/libs/ regex/doc/ html/index. html> to libstdc++ <https:/ /gcc.gnu. org/wiki/ Regex>. hopefully tweaks can be found; otherwise we can always revert to the boost implementation.
2 sides to this topic:
- validity. the first step would be to make sure the example expression is actually valid (starting with a "?" sign seems strange to me); and if it is, why libstdc++ rejects it.
- performance.