added regex, DPA and compiled test app