Rudimentary regex support