Use reglar expressions for matching