More parsing functions
Created separate module for regexp parsing.