visas: Can I re-enter Thailand the day my permit expires and get a new one?

I am from Italy and as such I have a 30-day exemption visa to enter Thailand. This will be valid until February 21. Tomorrow, February 16, I will leave Thailand for Malaysia, but I plan to return to Thailand exactly at the 21-stop stop until February 28.
Will I receive a new 30-day exemption permit, even if I am still within the limit of my prior permission?