Feature: Expand regexp references in location constraints
It was already possible to use regexp in a resource name location applies to.
Now it is also possible to use sed-like %0 - %9 references in both
score-attribute and rule expression to construct attribute names.