simplified regexp and got some code to test