Add codes to match

startswith, endswith and contains implemented.