Added readme documentation for regex compilation