Modified to use staticly compiled Pattern objects for matches and split. All existing tests pass