If there are elements with characters in upper case, it seems that some of functions are not working at all.
For example, having an input with the following part
<sample__unique_ID>some text to clean, goes here</sample__unique_ID>
and the function
Replace , with . from sample__unique_ID
does not do anything.
If the characters of the element are all in lower case (e.g. sample__unique_id) then it works as expected
The reason for this is that elements were all converted to lowercase before checking the rules.
I've updated this (for all rules) and now the elements are checked without ignoring their case.
If there are elements with characters in upper case, it seems that some of functions are not working at all. For example, having an input with the following part
<sample__unique_ID>some text to clean, goes here</sample__unique_ID>
and the function
Replace , with . from sample__unique_ID
does not do anything.
If the characters of the element are all in lower case (e.g. sample__unique_id) then it works as expected