Implement `~?` operator

Closing issue#30