Added yml file option debug_regex. If true, it causes printout of matched accession and description terms.
Slight rearrangement of regex parsing to produce meaningful error messages in cases where the regex matches overall but one of the fields (accession or description) does not match. Mainly this means moving the trim() operations so as to not produce null pointers, and also printing appropriate error messages.
One thing I also noticed is that the docs and some of the sample yml files contain the double-backslash \\sescaping for regex. However, I have not found this to be necessary, indeed in my usage I have been finding that double-backslash doesn't work. I'm not sure why this is.
One thing I also noticed is that the docs and some of the sample yml files contain the double-backslash
\\s
escaping for regex. However, I have not found this to be necessary, indeed in my usage I have been finding that double-backslash doesn't work. I'm not sure why this is.