-
Notifications
You must be signed in to change notification settings - Fork 728
pmf and case-sensitive matching #998
Comments
I am not quite following you; too many negations for my brain. If I remember by correctly, we made this adjustment to make sure we can work with case sensitive and case insensitive. All data files are supposed to be lowercase, all payloads transformed to lowercase. Do you understand how UTF-8 plays into this? Could you explain. Nothing wrong with updating the documentation and making this all transparent, though. |
Apologies for the delay on this. There are a number of issues IMO with this change:
Hope that is better but let me know otherwise. |
This issue has been open 120 days with no activity. Remove the stale label or comment, or this will be closed in 14 days |
@dune73 ping. |
OK. I got you now. We are based on an engine that defines @pmf as case-insensitive, yet we act as if it was sensitive in order to comfort implementations that do not follow the definition and implement a case sensitive A-C algorithm. Consequently users of compliant implementations suffer the performance penalty of an unnecessary Correct? If yes, it would indeed make sense to roll back the change. It would be nice, if @p0pr0ck5 could chime in, before we perform the roll back, though. |
This was on the agenda for the community chat on March 2, 2020. But we postponed the discussion. |
After c1a7652, all
@pmf
occurrences have the lowercase transformation.IMO this was not the right way to fix it since it implies
@pmf
is no longer case insensitive as the documentation states.Furthermore, although disabled there is code in the Aho-Cora implementation to support UTF8.
If this ever gets enabled and rules start depending on it, having
lowercase
alone would not be enough.We should either revert this or update the documentation (and code) to treat the input as case-sensitive.
The text was updated successfully, but these errors were encountered: