Removed the str lenght limitation of patter.py.