[REF]Added documentation for regular expressions