Use regex in polarity check to prevent false positives
This now checks for "tupl" within the job name to allow for users to call jobs something like <year>_Mag<polarity>_Tupling
or <year>_Mag<polarity>_Tuple
. I'm not sure how we could make it more general in a useful way considering that users can name jobs however they like so for now I think we should just try to target sensible naming choices that could be confused with polarities. If it's ambiguous then I just flag a warning rather than outright failing.
Follow-up from MR !32 (merged), fixing a limitation.
Edited by Aidan Richard Wiederhold