Adding functions for:  - checking if a string is a regular expression  - sanitizing a provided regexp.
Adding functions for:
 - checking if a string is a regular expression
 - sanitizing a provided regexp.
iRAP-software/package-core-libs