You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently is possible to use :regex => true to treat dictionary keys as regexp, but would be nice to have the opposite: use contents of source as regexp that will match against exact dictionary keys
The text was updated successfully, but these errors were encountered:
the use case came from a user that had a dictionary of postal codes to locations but sometimes the data from events wasn't very precise and the idea was to match the closest.
Example
dictionary:
10LX145: Lisbon15OP141: Porto
an event arrives with field: "pcode" => "10LX14"
There's no way to match the code 10LX14 with 10LX145
currently is possible to use
:regex => true
to treat dictionary keys as regexp, but would be nice to have the opposite: use contents ofsource
as regexp that will match against exact dictionary keysThe text was updated successfully, but these errors were encountered: