I've been using the table toolbox macro with great success and have encountered an error/edge case I am not able to work through.
I have a label field that I am pulling from Jira that I successfully translate into an corresponding estimate equivalent in hours based on a specific pattern. I use a case statement with:
Match_Regexp(Table.field, "Pattern1") then 50
Match_Regexp(Table.field,"Pattern2") then 100
etc. as 'Estimate'
I would like to check an error/edge case were someone has incorrectly entered both Pattern1 and Pattern2 in the field and have an error message displayed in the 'Estimate' column.
I have attempted to use
count (match_regexp (Table.field, "Pattern*"))
but that tells me the number of rows with the pattern. I need the number of times the patterns appears in Table.field.
Thank you kindly for any assistance!