I'm trying to match a string of text in a named wildcard, but the pattern that this text can appear means I must use the named capturing group more than once ie:

match="^ * (Her|His|Its) skin (?J)(?P<strength>(has been hardened to a rock-like form|has been hardened with numerous layers of a mineral-like substance)), although (.*).$|^ * (Her|His|Its) (?P<strength>(has tiny threads of metal running all over it)), although (.*).$"

I've entered the (?J) as mentioned in a previous thread which fixed the Error "Failed: two named subpatterns have the same name at offset..." error but it still seems to mess up when it triggers.

<trigger
enabled="n"
keep_evaluating="y"
match="^ \* (Her|His|Its) skin (?J)(?P<strength>(has been hardened to a rock-like form|has been hardened with numerous layers of a mineral-like substance|has been hardened with a chalk-like substance|is covered with several layers of a chalk-like substance|has been covered with a thin layer of chalk|is covered with a thick metal net|has metal bands running all over it, forming a kind of net|is covered with a thin metal net|has been covered with a thin, net-like metal coating|has solidified into a rubberous form|is made elastic with numerous layers of a rubber-like substance|has been treated with a latex-like substance|is covered with several layers of a latex-like substance|has been covered with a thin layer of latex)), although (.*)\.$|^ \* (His|Hers|Its) (?P<strength>has tiny threads of metal running all over it), although (.*)\.$"
script="shield_up"
name="prot_ccc"
ignore_case="y"
regexp="y"
lowercase_wildcard="y"
omit_from_output="n"
sequence="20"
>
</trigger>

1=""
2=""
3=""
4=""
5="His"
6="has tiny threads of metal running all over it"
7="the stomach seems not to be covered"
0=" * His has tiny threads of metal running all over it, although the stomach seems not to be covered."
"strength"="has tiny threads of metal running all over it"

In other words, the "strength" wildcard is the one to use. The other wildcards (1, 2, 3, 4) are empty because they didn't match.