Fix on regex search of EC numbers
re.escape
is required for handling the regex search where strings are being concatenated.
E.g. to consider the literal )
when searching for (1.1.1.1)
, in the function in question.
This problem was caused by using the new r"regex"
format.