REOPTALT
stringsProduces a Regular Expression OPTimized for ALTernation from a list of STRINGs. Large alternations in regular expressions can lead to excessive backtracking and poor matching performance. In order to mitigate this, the REOPTALT
function will produce a regular expression from a list of STRINGs which reduces the backtracking thus leading to better matching performance.