Pattern transform

a long time we speak about it.... Here it is.
the get here is strange. I would have hoped something like the re module ``re.match``