make build_regexp_for() useable for other attribute names (removed hard coded attribute_name 'matches')
Merge pull request #367 from ronald/master

make build_regexp_for() usable for other attribute_names than "matches"