Include text preceding/following URL capture group in the rewritten text to allow for restricting matches by text before/after the URL. In support of ARI-3837.
Merge remote-tracking branch 'origin/ARI-3837' into ait-qa