But, there's a workaround for that:
- Create a new picklist field
- the values are not important, they won't be used
- don't show it on the page layout, as it's not interesting to the user.
- Create a trigger to copy the value from the text-field (which you want to use for filtering) to the new picklist field
- Filter the lookup based on the picklist (this is supported)