Fixes bugs in the regex
cite key pattern modifier
#6893
Merged
regex
cite key pattern modifier
#6893