worked on reg exp rb file